rxn.chemutils.conversion.remove_hydrogens

rxn.chemutils.conversion.remove_hydrogens(mol)[source]

Remove unnecessary hydrogens in a molecule.

NB: The sanitization that is otherwise automatically done by RDKit is disabled.

Return type

Mol

Returns

a new Mol object without unnecessary hydrogens.

Parameters

mol (Mol) –