orthonym.assembly.aziridine_nitrogen#
Note
Internal API. Names and behaviour may change between releases.
An aziridine nitrogen whose configuration RDKit drops when it reads the string, cited in the name.
The nitrogen of an aziridine is a stereocentre: the standard InChI keeps it (‘/t4?,6-’ for ‘CC1[N@@](C1)C(=O)OC’), and
CDK and OPSIN read it. RDKit’s SMILES parser removes the tag of such a nitrogen when it carries an acyl or aryl group
(perception.lone_pair_reading.raw_reading), so every producer names the molecule without it, and the lone-pair check
of the namer withdraws that name (‘methyl 2-methylaziridine-1-carboxylate’: no configuration at N-1).
‘Trigonal pyramid’ (the Blue Book): “The configuration of molecules containing a trigonal pyramidal center
is described in a similar way to that of tetrahedral centers… by adding a phantom atom (0)”, so the
nitrogen is cited ‘R’ or ‘S’ at its locant; the nitrogen of an aziridine is position 1,:8222: “the heteroatom has the locant ‘1’”).
aziridine_nitrogen_row() runs only when the drawing as written gets no name. It names RDKit’s reading (the
drawing without the dropped tags), then adds the descriptor of each such nitrogen to the unit of the name that holds
its ‘aziridin’ stem: into the stereodescriptor group that opens the unit (‘(1R,2S)-‘), or as a new group in front of
it, the enclosing marks stepped up when the group lands inside a substituent (‘[(1R)-2-methylaziridin-1-yl]’,
. A candidate ships only when OPSIN reads it to the full standard InChIKey of the reading that keeps the
tags, and the lone-pair check agrees on the input as written. The label is systematic_verified: the descriptor is
placed by this search, not by a producer certified for the PIN (and never better than the label of the name it was
added to).
- orthonym.assembly.aziridine_nitrogen.has_dropped_aziridine_nitrogen(smiles)#
True for a SMILES string that writes an aziridine nitrogen tag RDKit drops, and no other lone-pair centre RDKit reads (whose reading this module would not check).
- orthonym.assembly.aziridine_nitrogen.aziridine_nitrogen_row(namer, smiles, written)#
The
name_tieredrow ofsmileswith the configuration of its aziridine nitrogens cited, or None: the drawing as written was named, the default tier applies, no such nitrogen, or no candidate reads back.