orthonym.rules.phane_pin.naming#
Note
Internal API. Names and behaviour may change between releases.
Assembly of a phane name from a numbered skeleton,,,.
the Blue Book, each line read with sed -n: (:14922) the amplification prefixes are cited in
decreasing seniority of ring; (:14926) ‘di’, ‘tri’,… or ‘bis’, ‘tris’,… multiply
them; (:14937) and (:14947) the superatom locants of amplificants with one attachment
set are cited together, in front of the attachment locants in parentheses; (:15192) “First, the
parent phane hydrocarbon is named and then the heteroatoms are denoted by means of nondetachable ‘a’
prefixes cited in front of the name so created. Locants for the heteroatoms are assigned according to the
numbering of the simplified parent skeleton”; (:16489) “In names, the ending ‘ene’ always
precedes ‘yne’, with elision of the final letter ‘e’ in ‘ene’”; (a) (:7595) the terminal ‘e’ of the
parent hydride or of ‘ene’ and ‘yne’ goes before a suffix or ‘en’ ending that starts with ‘a’, ‘e’, ‘i’, ‘o’,
‘u’ or ‘y’.
Format: [prefixes-][a-prefixes-]<amplification block><skeleton>[endings][suffix].
- orthonym.rules.phane_pin.naming.amplification_block(placed)#
,,,:
1,7(1),3,5(1,4)-tetrabenzena.
- orthonym.rules.phane_pin.naming.skeleton_word(skel)#
(:14847): the structure prefix, the number of nodes (superatoms included) and ‘phane’.
- orthonym.rules.phane_pin.naming.endings(base, enes, ynes)#
phane->phan-2-ene,phane-2,8-diene,phan-4-en-2-yne,phane-5,7-dien-9-yne.(:7595): the terminal ‘e’ goes only before an ending that starts with ‘a’, ‘e’, ‘i’, ‘o’,
‘u’ or ‘y’: ‘en’ and ‘yn’ take it away from ‘phane’, ‘dien’ and ‘diyne’ do not.
- orthonym.rules.phane_pin.naming.with_suffix(ending, locants, core)#
(a): the terminal ‘e’ goes before a suffix that starts with a vowel; the multiplier is part of the suffix (‘dione’ starts with ‘d’).
- orthonym.rules.phane_pin.naming.prefix_block(plan, numbered, skel)#
The detachable prefixes in alphanumerical order, each name with the locants of its atoms in the order of (never contracted,,:15113).
- orthonym.rules.phane_pin.naming.hydro_block(skel, numbered)#
(:15173) and (:16872,:16874): the hydro prefixes and then the indicated hydrogen of the amplificants, directly before the parent hydride name:
1^1,1^2-dihydro-,1^4H-,3^1,3^2-dihydro-1^1H-. Empty for amplificants without added hydrogen; None when a count has no multiplier.
- orthonym.rules.phane_pin.naming.build_name(skel, numbered, plan=None)#
The name of
skelunder one numbering, or None when a part of it is not built.
- orthonym.rules.phane_pin.naming.phane_candidate(skel, plan=None)#
(rank, name): the name under the numbering with the lowest key (of numberings with equal keys the lowest name; a tie that gives different names means a rule is missing, and is logged) and what ranks skeletons that tie on the nodes: (:21604) the maximum number of substituents cited as prefixes,(:21698) their lower locants, (:21791) in their order of citation.
- orthonym.rules.phane_pin.naming.phane_name(skel, plan=None)#
The name of
skel(see:func:phane_candidate), or None.