update_formal_charges# update_formal_charges(mol)[source]# Update the formal charges of a molecule to align with their implied charge from connectivity. Note that formal charges of metals are not updated. Parameters: mol (rdkit.Chem.Mol) – RDKit molecule to update in place