dan2097 / opsin

Open Parser for Systematic IUPAC Nomenclature. Chemical name to structure conversion
https://opsin.ch.cam.ac.uk
MIT License
158 stars 32 forks source link

lithium triethylborodeuteride not recognized #230

Closed IngvarLa closed 1 year ago

IngvarLa commented 1 year ago

Think this is the normal way to name

[Li+].CC[B-](CC)(CC)[2H]

Opsin is happy with lithium triethylborohydride.
Compare with Lithium aluminiumtetradeuteride and Lithium aluminium tetradeuteride which are both recognised.

dan2097 commented 1 year ago

This was surprisingly inelegant to support as OPSIN doesn't allow implicit deuterium atoms. e.g. lithium triethylborohydride has one deuterium, but lithium borohydride has four!

I also added support for the less common tritium analogue (borotritide)