orthonym.rules.olate_anions#
Note
Internal API. Names and behaviour may change between releases.
The anions of hydroxy-type groups that the suffix of the neutral name cannot spell.
charged_router.olate_with_senior_neutral_group names a mono-anion on a hydroxy or thiol group by the
neutral name of the molecule with that group forced as the principal group. Two anions of the same family are
not reached that way, because their neutral form has no ‘ol’ suffix to take the ending ‘ate’:
the anion of an imidic acid,
R-C(=NH)-O(-): “Anions derived from acids” (the Blue Book) replaces “the ‘ic acid’… ending of the acid name by ‘ate’”, and the imidic acids are acids named by the suffix ‘imidic acid’ “Carboximidic acids”,:29978: ‘propanimidic acid (PIN)’,:17574), so the anion is ‘-imidate’;the anion of a hydroxylamine,
R2N-O(-): “Anions derived from hydroxy compounds” (:41011) retains ‘aminoxide’ for H2N-O(-) and gives ‘(CH3)2N-O(-) dimethylaminoxide (PIN)’ (:41031), the substituents of the nitrogen cited as the prefixes of ‘aminoxide’ (‘may be substituted in the same way as the corresponding alcohols’,,:28180).
Each name is read back to the full InChIKey and to the structure’s own charge sites (the key does not tell the imidate of an amide from its amidate); a decline returns ‘’ and the callers name the anion as before.
- orthonym.rules.olate_anions.imidate_anion_name(mol, sites, neutral_smi, style)#
‘-imidate’ of the anion of an acyclic imidic acid
R-C(=NR')-O(-)on, or ‘’.The neutral form is named with the imidic acid forced as the principal group (a senior neutral group of the molecule is a prefix: the anion is the parent, class 4), and the name must end in ‘imidic acid’.
- orthonym.rules.olate_anions.aminoxide_anion_name(mol, sites, style)#
‘<groups>aminoxide’ of the anion
R-N(R')-O(-)orR-NH-O(-)of a hydroxylamine whose nitrogen carries one or two carbon groups outside any ring and no acyl group: ‘dimethylaminoxide (PIN)’;,:28180: ‘may be substituted in the same way as the corresponding alcohols’), or ‘’.The two groups are named as substituent prefixes and cited by the rule of a mononuclear centre, :7272: the first group has no enclosing marks, the later ones are enclosed, a repeated group takes the multiplier). A nitrogen in a ring is named on its ring (‘piperidin-1-olate’), a nitrogen with an acyl group is a hydroxamic acid anion.
- orthonym.rules.olate_anions.olate_anion_name(mol, sites, neutral_smi, style)#
The name of a mono-anion on a hydroxy-type group: the hydroxy or thiol group named on the neutral form (
charged_router.olate_with_senior_neutral_group), else the imidate, else the aminoxide; ‘’ when none.
- orthonym.rules.olate_anions.olate_on_nitrogen_must_read_back(mol, name)#
nameof a mono-anion, or ‘’ when the oxygen of the anion is on a nitrogen and the name does not read back.The suffix seam of
route_chargedgives the neutral name the ending of the anion, which names the anion only where the oxygen of the anion is the ‘ol’ of that name. An oxygen on a nitrogen (‘R2N-O(-)’,: ‘aminoxide’) is no ‘ol’ of a neutral name that is built on the carbon groups: forCN(CCO)[O-]the neutral producer (assembly.handlers.ester_family) drops the N-hydroxy group ofCN(O)CCO(‘2-(methylamino)ethan-1-ol’), and the seam turned that into ‘2-(methylamino)ethan-1-olate’, a name of another molecule that only a later gate stopped. The seam’s name stands for such an anion only when it reads back to the full InChIKey; otherwise the routes after it (the aminoxide,:func:aminoxide_anion_name) name the anion. Every other anion keeps the seam’s name unchecked, as before.