-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Whoops, forgot I had a whole 'assemble' module
- Loading branch information
Showing
2 changed files
with
10 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
"""Functions for assembling a MOF structure""" | ||
import ase | ||
from typing import Sequence | ||
|
||
from .model import NodeDescription, LigandDescription, MOFRecord | ||
|
||
def assemble_mof( | ||
node: object, | ||
linker: str, | ||
topology: object | ||
) -> ase.Atoms: | ||
"""Generate a MOF structure from a recipe | ||
|
||
def assemble_mof(nodes: Sequence[NodeDescription], ligands: Sequence[LigandDescription], topology: str) -> MOFRecord: | ||
"""Generate a new MOF from the description of the nodes, ligands and toplogy | ||
Args: | ||
node: Atomic structure of the nodes | ||
linker: SMILES string defining the linker object | ||
topology: Description of the network structure | ||
nodes: Descriptions of each node | ||
ligands: Description of the ligands | ||
topology: Name of the topology | ||
Returns: | ||
Description of the 3D structure of the MOF | ||
A new MOF record | ||
""" | ||
raise NotImplementedError() |
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