orthonym.validation.spelling.checks_hydrogen#
Note
Internal API. Names and behaviour may change between releases.
Spelling check: indicated hydrogen (registered with
orthonym.validation.pin_spelling.register()).
The count of indicated hydrogens each ring system needs comes from the RDKit structure
(indicated_hydrogen); the name side is its front nH- groups. No naming code, no OPSIN.
- orthonym.validation.spelling.checks_hydrogen.indicated_hydrogen_check(mol, name)#
(the Blue Book) “in a preferred IUPAC name a locant and the symbol ‘H’ must be cited”; (:24639). The name cites fewer front indicated-hydrogen groups than the ring systems of the structure need (
indicated_hydrogen). Charged ring atoms abstain (the ylium/uide parents are formed from the neutral parent hydride by operations the count does not model). A skeletal-replacement monocycle with explicit ‘ene’ endings names no mancude parent and needs none: (:16558) numbers its heteroatoms and then its unsaturated sites, and (heading:23692):23694 forms the PIN “by changing the ‘ane’ ending of the saturated heteromonocycle to ‘ene’, ‘adiene’, etc.” (‘1-azacyclotrideca-2,4,6,8,10,12-hexaene (PIN)’:23698, not ‘1H-1-aza[13]annulene’:16580).
- orthonym.validation.spelling.checks_hydrogen.assembly_indicated_hydrogen_check(mol, name)#
(the Blue Book) “Any remaining saturated ring positions are designated as indicated hydrogen, placed together with the appropriate locant(s) at the front of the name of the assembly.”;:15599 ‘6H,6’H-2,2’-bipyran (PIN) (not 2,2’-bi-6H-pyran)’; the next paragraph (:15595) calls the front position “a change from its position in previous editions (refs. 1 and 2) where it was kept with the name of the individual ring, for example, 2,2’-bi-2H-pyran”. A name that keeps the indicated hydrogen with the component, after the multiplying prefix (‘4,4’-bi(4H-1,4-oxazine)’), is the previous editions’ spelling, not the PIN. Lexical only.
- orthonym.validation.spelling.checks_hydrogen.added_hydrogen_at_ring_nitrogen_check(mol, name)#
A free valence or a suffix at the ring nitrogen of a hydro-azine that ‘hydro’ prefixes cover: “‘Added indicated hydrogen’” (the Blue Book), “used to introduce a free valence, a radical or an ionic center, or a principal characteristic group into a fully unsaturated heteromonocyclic compound or fused polycyclic system in the absence of, or lack of, sufficient hydrogen atoms to accommodate the operation at the site of the operation… or on equivalent heteroatoms such as -N=”; the nitrogen of quinoline and its analogues has no hydrogen to give, so the attachment is expressed by added hydrogen and ‘hydro’ prefixes cover the other positions: ‘1-(3,4-dihydroquinolin-1(2H)-yl)ethan-1-one (PIN)’ (:29376, under, ‘3,4-dihydroisoquinoline-2(1H)- carbonyl’ (:29619), ‘quinoline-1(2H)-carboxylic acid (PIN)’ (:24701, under, not ‘1,2,3,4-tetrahydro quinolin-1-yl’; the same holds for a monocycle, ‘pyridin-1(2H)-yl (preferred prefix)’ (:24703), ‘pyridin-1(2H)-ide (PIN)’ and not ‘1,2-dihydropyridine-1-ide’ (:40928, under. Lexical: the name cites the nitrogen locant of the azine both in its ‘hydro’ prefix and as the site of the free valence or the suffix. A hydro-azine that is substituted on its nitrogen as a prefix (‘1-methyl-1,2,3,4-tetrahydroquinoline’) cites no such site and passes, and so does a cation at the nitrogen, ‘-1-ium’: “Azanium (ammonium) and phosphanium (phosphonium) compounds” (:45978) prints the ‘hydro’ prefix of the site itself, ‘(2S)-2-(4-hydroxyphenyl)-2-phenyl-1,2,3,4-tetrahydroisophosphinolin-2-ium bromide (PIN)’ (:45994), and the same form is the name of ‘1,1-dimethyl-1,2,3,4-tetrahydroquinolin-1-ium’.