orthonym.rules.chalcogen_acid_locant#

Note

Internal API. Names and behaviour may change between releases.

The italic element locant of a mixed chalcocarbonic or chalcocarbamic acid: ‘carbamothioic O-acid’.

(the Blue Book): “Tautomeric groups in mixed chalcocarbonic acids, such as HO-CO-SH or HO-CS-OH, are

distinguished by prefixing italic element symbols, such as ‘S’ or ‘O’, respectively, to the term ‘acid’”: ‘H2N-CS-OH carbamothioic O-acid (PIN)’ (:30774), ‘H2N-CO-SeH carbamoselenoic Se-acid (PIN)’ (:30776), ‘HO-CO-SH carbonothioic S-acid (PIN)’ (:30778), ‘HSe-CO-SeH carbonodiselenoic Se,Se-acid (PIN)’ (:30780), ‘carbonothioic O,O-acid (PIN)’ (:30861). Only those shapes are given a locant here: the one acidic atom of a carbamic acid; for a carbonic acid two acidic atoms of one element other than O, one such atom beside an -OH and =O, or two -OH beside =X. Any other mixed shape (HS-CS-OH) has no locant from this module, and its names are not the PIN (validation.spelling. checks_carbamothioic).

orthonym.rules.chalcogen_acid_locant.acid_centre_elements(atom)#

(double-bonded element, [acidic elements], has_nitrogen) of a carbamic/carbonic acid carbon, else None.

orthonym.rules.chalcogen_acid_locant.acid_locant(atom)#

‘O’, ‘Se’, ‘S’, ‘Se,Se’, ‘O,O’ for a mixed chalcogen acid carbon of a book shape; ‘’ when no locant is needed (all its chalcogen atoms are of one element); None for a mixed shape the book gives no example of.

orthonym.rules.chalcogen_acid_locant.mol_acid_locant(mol)#

acid_locant() of the one carbamic/carbonic acid carbon of mol; None when there is not exactly one.