determine_bonds#

determine_bonds(mol)[source]#

Determine bond orders with OpenBabel, with MDA fallback.

Parameters:

mol (rdkit.Chem.rdchem.Mol) – RDKit molecule

Returns:

mol – Resulting molecule, or None if the bonds could not be determined for the molecule.

Return type:

rdkit.Chem.rdchem.Mol