orthonym.assembly.monocycle_ring_amide#
Note
Internal API. Names and behaviour may change between releases.
The N-substituents of a ring carboxamide / sulfonamide in the lone-monocycle producer of the general engine.
(the Blue Book): the substituents R’ and R’’ of the nitrogen of R-CO-NR’R’’ are cited as prefixes
preceded by the locant N. On a ring carboxamide (‘pyrrolidine-2-carboxamide’) they stand beside the ring prefixes, in
the one alphanumerical order of the detachable prefixes, “Prefixes… are arranged alphanumerically”,
:3375): ‘1-acetyl-N-methylpyrrolidine-2-carboxamide’. The cage path of the engine builds them
(general_engine._ring_amide_n_prefixes); name_general_monocycle held the atoms of an N-substituent out of
nowhere and refused (‘partition incomplete’), so a heteromonocycle with an N-substituted carboxamide was named on a
ring without the amide suffix (‘1-acetyl-2-(methylcarbamoyl)pyrrolidine’) or on another ring of the molecule.
- orthonym.assembly.monocycle_ring_amide.senior_ring_system(mol, ring_systems, features)#
The ring system of the molecule that
name_general_monocycletakes as its parent monocycle: the senior one by (rules.ring_selection.select_principal_ring_system), or, where that is a lone ring too, the lone ring that bears the principal characteristic group: (the Blue Book) puts the group before the seniority of the rings, so the pyrrolidine of ‘pyrrolidine-2-carboxamide’ is the parent although the thiazole ring of a substituent is the senior ring. Only the atom that carries the locant counts as bearing the group (the first atoms of the N-substituents of an amide are in its match too, and a ring that holds one of them does not bear it). A senior ring that is fused, spiro or bridged is the cage producers’ parent and stays the choice: the producer then declines, as it always did.
- orthonym.assembly.monocycle_ring_amide.ring_amide_n_block(mol, suffix_core, pg_matches, ring_set, suffix_atoms, allow_mancude)#
(atoms, entries, bindings, reason): the N-substituents of the ring carboxamide / sulfonamide that the suffixsuffix_corestands for, or thereasonthat the producer must refuse. Empty for any other suffix. The atoms of the N-substituents are taken out ofsuffix_atomsin place (they are named as prefixes, not part of the suffix).Refused: an N-substituent that cannot be named (an atom is never dropped), and a group whose nitrogen is a ring atom (an acyl on a ring nitrogen is no carboxamide suffix: it is a prefix of the ring, ‘hidden amide’). The ring that bears the principal group is the parent, the Blue Book), whatever the seniority of the other rings:
name_general_monocycleselects it with the principal group atoms as the hint, as the cage path does.
- orthonym.assembly.monocycle_ring_amide.prefix_parts(groups, n_entries, omit_ring_locant)#
The detachable prefixes of the ring in one order: the ring substituents (
groups: name -> locants) and the N-substituents (n_entries: (key, token)), by the citation key of the substituent name. None when a multiplicity is beyond the table of multiplying prefixes.