orthonym.rules.ring_ium_prefixes#
Note
Internal API. Names and behaviour may change between releases.
The ‘-ium’ name of a protonated ring nitrogen whose neutral molecule takes a suffix (‘4-carboxypiperidin-1-ium’).
(the Blue Book-18170) ranks ‘6 Cations’ before ‘7 Acids’ and every later class, so the ring
cation is the principal characteristic group: the parent is the ring hydride with the ‘-ium’ suffix
:41366), and a group the neutral molecule names as a suffix is cited as a prefix (‘4-carboxy-1-methylpyridin-1-ium
chloride (PIN)’,:29914; an acyl group on a ring nitrogen is an ‘acyl’ prefix of the ring-ium parent,
:41447). The neutral name cannot be reused here: its suffix (‘piperidine-4-carboxylic acid’) or its other parent (the
pseudoketone ‘2-ethoxy-1-(4-ethylpiperazin-1-yl)ethan-1-one’) does not hold the ‘-ium’. The name is built in one
numbering of the ring, as for a ring cation with no hydrogen (ions._emit_ring_cumulative_suffix, DEMOTE): the
cation’s low locant, then the prefixes, every substituent of the ring a prefix, the bare ring the stem.
- orthonym.rules.ring_ium_prefixes.ring_ium_with_prefixes(mol, ring_mol, ring_system, center_idx)#
‘4-(ethoxyacetyl)-1-ethylpiperazin-1-ium’ for the protonated ring nitrogen
center_idxofmol, else ‘’.ring_molismolwith that nitrogen neutral, index-preserving; it is numbered (a protonated ring atom read onmollooks like the indicated hydrogen of a parent). Declined for a stem with an indicated hydrogen, which this composition cannot place.
- orthonym.rules.ring_ium_prefixes.ring_acyl_token(mol, root, ring_atom, sub_atoms)#
The acyl prefix of a carbonyl-rooted substituent
sub_atomsof a ring cation (‘acetyl’, ‘ethoxyacetyl’, ‘benzoyl’), else None. (the Blue Book): the acyl prefix, not the ‘2-ethoxy-1-oxoethyl’ of general nomenclature:30430). The numbering tie key and the name read the same token (ions._p74_ring_substituent_groups).