Skip to content

Commit

Permalink
In process
Browse files Browse the repository at this point in the history
  • Loading branch information
dprada committed Apr 12, 2024
1 parent 6678b8e commit 2f49dc2
Show file tree
Hide file tree
Showing 46 changed files with 9,275 additions and 475 deletions.
3 changes: 2 additions & 1 deletion molsysmt/form/mdtraj_Topology/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
from .add import add
from .merge import merge
from .append_structures import append_structures
from .get import *
from .get_topological_attributes import *
from .get_structural_attributes import *
from .set import *
from .iterators import TopologyIterator

Expand Down
15 changes: 15 additions & 0 deletions molsysmt/form/mdtraj_Topology/get_structural_attributes.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#######################################################################################
########### THE FOLLOWING LINES NEED TO BE CUSTOMIZED FOR EVERY CLASS ################
#######################################################################################

from molsysmt._private.exceptions import NotImplementedMethodError, NotWithThisFormError
from molsysmt._private.digestion import digest
from molsysmt._private.variables import is_all
import numpy as np
import types


form='mdtraj.Topology'

__all__ = [name for name, obj in globals().items() if isinstance(obj, types.FunctionType) and name.startswith('get_')]

3 changes: 2 additions & 1 deletion molsysmt/form/mdtraj_Topology/get_topological_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
########### THE FOLLOWING LINES NEED TO BE CUSTOMIZED FOR EVERY CLASS ################
#######################################################################################

from molsysmt._private.execfile import execfile
from molsysmt._private.exceptions import NotImplementedMethodError, NotWithThisFormError
from molsysmt._private.digestion import digest
from molsysmt._private.variables import is_all
import numpy as np
import types


form='mdtraj.Topology'

Expand Down
3 changes: 2 additions & 1 deletion molsysmt/form/mmtf_MMTFDecoder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
from .add import add
from .merge import merge
from .append_structures import append_structures
from .get import *
from .get_topological_attributes import *
from .get_structural_attributes import *
from .set import *
from .iterators import StructuresIterator, TopologyIterator

Expand Down
Loading

0 comments on commit 2f49dc2

Please sign in to comment.