BondType#

class biotite.structure.BondType(*values)#

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

  • COORDINATION - Coordination complex involving a metal atom

  • AROMATIC - 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>