BondType#

class biotite.structure.BondType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Bases: IntEnum

This enum type represents the type of a chemical bond.

  • ANY - Used if the actual type is unknown

  • SINGLE - Single bond

  • DOUBLE - Double bond

  • TRIPLE - Triple bond

  • QUADRUPLE - A quadruple bond

  • AROMATIC_SINGLE - Aromatic bond with a single formal bond

  • AROMATIC_DOUBLE - Aromatic bond with a double formal bond

  • AROMATIC_TRIPLE - Aromatic bond with a triple formal bond

  • AROMATIC - Aromatic bond without specification of the formal bond

  • COORDINATION - Coordination complex involving a metal atom

without_aromaticity()#

Remove aromaticity from the bond type.

BondType.AROMATIC_{ORDER} is converted into BondType.{ORDER}.

Returns:
new_bond_typeBondType

The BondType without aromaticity.

Examples

>>> print(BondType.AROMATIC_DOUBLE.without_aromaticity().name)
DOUBLE
ANY = 0#
SINGLE = 1#
DOUBLE = 2#
TRIPLE = 3#
QUADRUPLE = 4#
AROMATIC_SINGLE = 5#
AROMATIC_DOUBLE = 6#
AROMATIC_TRIPLE = 7#
COORDINATION = 8#
AROMATIC = 9#