add_obvious_bonds#

add_obvious_bonds(mol)[source]#

Correct bond order for adjacent atoms with hanging bonds.

Sometimes after the determining bond order analysis (particularly for openbabel) there are adjacent atoms, each with a hanging bond. The success of this package is improved significantly by increasing those bond orders by one.

Parameters:

mol (rdkit.Chem.Mol) – RDKit molecule to update