-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
57 changed files
with
1,515 additions
and
1,110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from molsysmt._private.digestion import digest | ||
|
||
@digest(form='file:msmpk') | ||
def to_molsysmt_MolSys(item, atom_indices='all', structure_indices='all', skip_digestion=False): | ||
|
||
from .to_molsysmt_MolSysOld import to_molsysmt_MolSysOld | ||
from ..molsysmt_MolSysOld import to_molsysmt_MolSys as molsysmt_MolSysOld_to_molsysmt_MolSys | ||
|
||
tmp_item = to_molsysmt_MolSysOld(item, atom_indices=atom_indices, structure_indices=structure_indices, | ||
skip_digestion=True) | ||
tmp_item = molsysmt_MolSysOld_to_molsysmt_MolSys(tmp_item) | ||
|
||
return tmp_item | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from molsysmt._private.digestion import digest | ||
|
||
@digest(form='file:msmpk') | ||
def to_molsysmt_Structures(item, atom_indices='all', structure_indices='all', skip_digestion=False): | ||
|
||
from . import to_molsysmt_MolSys | ||
from ..molsysmt_MolSys import to_molsysmt_Structures as molsysmt_MolSys_to_molsysmt_Structures | ||
|
||
tmp_item = to_molsysmt_MolSys(item, atom_indices=atom_indices, structure_indices=structure_indices, | ||
skip_digestion=True) | ||
tmp_item = molsysmt_MolSys_to_molsysmt_Structures(tmp_item, skip_digestion=True) | ||
|
||
return tmp_item | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from molsysmt._private.digestion import digest | ||
|
||
@digest(form='file:msmpk') | ||
def to_molsysmt_Topology(item, atom_indices='all', skip_digestion=False): | ||
|
||
from . import to_molsysmt_MolSys | ||
from ..molsysmt_MolSys import to_molsysmt_Topology as molsysmt_MolSys_to_molsysmt_Topology | ||
|
||
tmp_item = to_molsysmt_MolSys(item, skip_digestion=True) | ||
tmp_item = molsysmt_MolSys_to_molsysmt_Topology(tmp_item, atom_indices=atom_indices, skip_digestion=True) | ||
|
||
return tmp_item | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from molsysmt._private.digestion import digest | ||
|
||
@digest(form='molsysmt.MolSysOld') | ||
def copy(item): | ||
def copy(item, skip_digestion=False): | ||
|
||
return item.copy() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.