3D-Circle/CHEMaths

KeyError in Molecule.calculate_oxidation()

Closed this issue · 1 comments

Molecule.from_string("OH2CMgUut") throws KeyError: 'C'.

Molecule.calculate_oxidation() is missing the element C in the returned dictionary.

Oxidation number can't be determined for an inexistant molecule.