orthonym.rules.ring_tie_names#
Note
Internal API. Names and behaviour may change between releases.
Two rings of equal seniority that tie on every criterion that counts or locates groups:, then.
The two rings are joined by one =CH- linker, so either ring is the parent of the name and the other ring
and the linker are one compound prefix on it (‘1-[(4-ethylcyclohexyl)methylidene]-4-methylcyclohexane’ and
‘1-ethyl-4-[(4-methylcyclohexylidene)methyl]cyclohexane’ name one molecule). ring_selection has applied
, (h) and (k), and to the two rings; this is what the book applies next, to the
two NAMES:
“the senior parent structure that has the lower locant or set of locants for substituents cited as prefixes to the parent structure (other than ‘hydro/dehydro’ prefixes) in their order of citation in the name” (the Blue Book, under “ CRITERIA RELATED TO NUMBER AND LOCATION OF SUBSTITUENT GROUPS”,:21596): the locants of the prefixes as the name cites them, group by group (‘1,5,1,6’ is lower than ‘1,6,1,5’ for ‘bromo, (bromomethyl), dichloro’, the example ‘1-bromo-5-(bromomethyl)-1,6- dichlorohexane (PIN)’,:22128). Each ring is numbered as (:3219) numbers it: the suffix first (c), the prefixes together (f), then the prefix cited first (g).
“CRITERIA RELATED ONLY TO SUBSTITUENTS WITH NONSTANDARD BONDING NUMBERS” (:22172) and “CRITERIA RELATED ONLY TO ISOTOPIC MODIFICATION OF SUBSTITUENTS” (:22208) come between the two. They are not worked out: where a prefix has a nonstandard bonding number (a ‘lambda’ in its name) or an atom of the molecule is isotopically modified, a tie of is left undecided.
“Criteria related to alphanumerical order of names” (:22234): “The preferred IUPAC name is the name that is earlier in alphanumerical order (see. Alphabetic letters are considered first in the order that they appear in the name; all Roman letters are considered before any italic letters, unless the latter are used as locants or are a part of a compound or composite locant, for example, ‘N’ and ‘4a’. Then, if still there is a choice, numerical locants are considered in the order of their appearance in the name.” The multiplying prefixes are letters of the name (‘bromo’ is earlier than ‘dibromo’, the example (1) of,:22243). Two rings of one size and the same principal groups have the same parent hydride and the same suffix, so the letters that decide are those of the prefixes in the order the name cites them; a string of letters that is the start of the other is left undecided (the rest of the name, which is the same, would decide, and it is not built here).
The prefixes of a ring are named as the sort keys of perception.chains are (name_substituent_for_ordering,
which leaves no trace, inside isolated_provenance; the name of the molecule itself is built afterwards by
the ordinary path on the ring this chooses). A prefix without a name, or a shape this does not work out, leaves
the tie undecided (None) and the caller keeps its honest decline.
- orthonym.rules.ring_tie_names.Prefixes#
(ring atom, name)of the prefixes of one ringalias of
List[Tuple[int,str]]
- orthonym.rules.ring_tie_names.tied_numberings(cyc, suffix_atoms, prefixes, groups=None)#
(start, step)of every numbering of the ring (cycin the order round the ring) that is lowest by(:3219): the suffix (c), all the prefixes together (f) and, with
groups(_cited_groups), the
prefixes in the order the name cites them (g); the numberings the isotopic criterion (i) chooses among.
- orthonym.rules.ring_tie_names.prefix_attachments(mol, ring_atoms, group_atoms)#
(ring atom, '')of every prefix of the ring, unnamed (the positions the numbering of the ring reads).
- orthonym.rules.ring_tie_names.named_prefixes(mol, rings, group_atoms)#
The prefixes of each of the two rings with their names (
_ring_prefixes), named as sort keys insideisolated_provenancewith no comparison started inside those namings; None when one has no name or the naming is itself inside such a naming.
- orthonym.rules.ring_tie_names.decide_by_names(cycles, suffix, named, between=False)#
Index (0 or 1) of the ring that and then make the parent, or None when they do not decide (the same locants, letters and numerals; one string of letters the start of the other; the locants tie and
betweensays or would be the next criterion).cyclesare the two rings in the order of their atoms (rings of one size),suffixthe ring atoms each cites its principal groups at,namedthe prefixes of each ring with their names,betweenthat a prefix has a nonstandard bonding number or an atom is isotopically modified.
- orthonym.rules.ring_tie_names.senior_ring_by_names(mol, rings, cycles, suffix, group_atoms)#
Index (0 or 1) of the ring that and then make the parent, or None when they do not decide (a prefix without a name, a name that cannot be compared, the same name by every criterion).
ringsare the atoms of the two rings,cyclesthe same in the order round the ring (saturated carbocyclic monocycles, the only ringsring_selectionnumbers),suffixthe ring atoms each cites its principal groups at,group_atomsthe atoms of the principal groups.