biotite.structure.BondType

class biotite.structure.BondType(value)[source]

Bases: enum.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

ANY = 0
SINGLE = 1
DOUBLE = 2
TRIPLE = 3
QUADRUPLE = 4
AROMATIC_SINGLE = 5
AROMATIC_DOUBLE = 6
AROMATIC_TRIPLE = 7
without_aromaticity()

Remove aromaticity from the bond type.

BondType.AROMATIC_ is converted into BondType..

Returns
new_bond_typeBondType

The BondType without aromaticity.

Examples

>>> print(BondType.AROMATIC_DOUBLE.without_aromaticity())
BondType.DOUBLE