Trees | Indices | Help |
|
---|
|
Methods to handle structure reading and bonding in AutoTS.
|
|||
ReactiqStructureReader Local version of StructureReader which redefines bonding when reading |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Structure instance |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
__doc__ = """ Methods to handle structure reading and bonding
|
|||
__package__ =
|
|
Clean up a st via redefining bonding. We also delete formal charges because they get in the way of the SMARTS pattern based matching used in many places.
|
copy all known atom-level AutoTS-specific properties from st1 to st2. Atoms in st1 and st2 must be in the same order. |
copy all known bond-level AutoTS-specific properties. Atoms in st1 and st2 must be in the same order but the bonds do not. However, a bond with the same atom indexes and bond order must exist in order to copy the properties. |
copy all known atom-, bond- and st-level AutoTS-specific properties from st1 to st2. Atoms in st1 and st2 must be in the same order. |
Copy all known structure-level AutoTS-specific properties. Any properties in exceptions are not cleared (charge and mult by default) |
Set the order of bonds containing metals to zero.
|
Delete ghost/dummy atoms from the structure and return the modified structure. Ghosts are identified by the attribute _StructureAtom.atomic_number = 0. The original structure is unmodified.
|
Replace the bonding to ghost atoms for any bond to transition metals (TM). The idea is to replace C /| / | M-Gh | \ | \| C with C /| / | M | \ | \| C We only add bonds between the metal and the other atoms the ghost is bonded to. We'll also add bonds if the Ghost is only bonded to two atoms, i.e. A-Gh-A -> A-A All added bonds are zero order. @type st: Structure instance @param st: structure to modify bonding for @type ghosts: list of ints @param ghosts: list of indexes for ghost atoms |
Get bonding from mmlewis. Do it molecule by molecule.
|
get bonding from mmlewis
|
Make all bonds single bonds and remove all charges. This makes using SMARTS much more effective. We do not do this to zero order bonds, which are left as is.
|
|
__doc__
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue May 2 06:32:46 2017 | http://epydoc.sourceforge.net |