- class openff.pablo.residue.BondDefinition(atom1: str, atom2: str, order: int, aromatic: bool, stereo: Literal['E', 'Z'] | None)[source]
Bases:
objectDescription of a bond in a residue from the Chemical Component Dictionary (CCD).
Attributes
The canonical name of the first atom in this bond
The canonical name of the second atom in this bond
The bond order of this bond (1 for single bond, 2 for double bond, etc.)
Trueif this bond is aromatic,FalseotherwiseThe stereochemistry of this bond.
Constructor Methods
Construct a new bond definition, optionally using some default values.
Instance and Static Methods
The same bond, but with the atoms in the opposite order
Return a copy of
selfwith the specified attributes replaced.- aromatic: bool
Trueif this bond is aromatic,Falseotherwise
- atom1: str
The canonical name of the first atom in this bond
- atom2: str
The canonical name of the second atom in this bond
- order: int
The bond order of this bond (1 for single bond, 2 for double bond, etc.)
- replace(*, atom1: str | __UNSET__ = __UNSET__(), atom2: str | __UNSET__ = __UNSET__(), order: int | __UNSET__ = __UNSET__(), aromatic: bool | __UNSET__ = __UNSET__(), stereo: Literal['E', 'Z'] | None | __UNSET__ = __UNSET__()) Self[source]
Return a copy of
selfwith the specified attributes replaced.