BondType#
- class biotite.structure.BondType(*values)#
Bases:
IntEnumThis enum type represents the type of a chemical bond.
ANY- Used if the actual type is unknownSINGLE- Single bondDOUBLE- Double bondTRIPLE- Triple bondQUADRUPLE- A quadruple bondAROMATIC_SINGLE- Aromatic bond with a single formal bondAROMATIC_DOUBLE- Aromatic bond with a double formal bondAROMATIC_TRIPLE- Aromatic bond with a triple formal bondCOORDINATION- Coordination complex involving a metal atomAROMATIC- Aromatic bond without specification of the formal bond
- ANY = 0#
- SINGLE = 1#
- DOUBLE = 2#
- TRIPLE = 3#
- QUADRUPLE = 4#
- AROMATIC_SINGLE = 5#
- AROMATIC_DOUBLE = 6#
- AROMATIC_TRIPLE = 7#
- COORDINATION = 8#
- AROMATIC = 9#
- without_aromaticity() BondType#
Get the non-aromatic counterpart of this bond type.
If this bond type is already non-aromatic, it is returned unchanged.
- Returns:
- BondType
The non-aromatic counterpart of this bond type.
Examples
>>> BondType.AROMATIC_DOUBLE.without_aromaticity() <BondType.DOUBLE: 2> >>> BondType.SINGLE.without_aromaticity() <BondType.SINGLE: 1>