orthonym.rules.phane_pin.substituents#

Note

Internal API. Names and behaviour may change between releases.

Suffix groups and prefixes of a phane,,.

the Blue Book, each line read with sed -n:

  • (:18875): “The senior parent structure has the maximum number of substituents corresponding to the principal characteristic group (suffix)”: the principal groups are the occurrences of the senior suffix class that validation.spelling.linear_phane.principal_groups reads (one home of which atoms form which suffix class).

  • (c) (:3256): the principal characteristic groups take the lowest locants; (a) (:7595) the terminal ‘e’ is elided before a suffix that starts with a vowel.

  • (:15111): “locants for amplificant atoms are constructed by citing the actual locants of the amplificant as superscripts to the locant of the superatom that represents the amplificant in the simplified skeleton.”

A suffix group is built only when it is its functional atoms and nothing more (a hydroxy group, a primary amine or amide, a carboxylic acid, a nitrile, an aldehyde, a ketone on a chain atom). Every atom outside the skeleton and the suffix groups belongs to a substituent prefix named by the engine’s substituent namer. A structure with a principal group that the phane does not express is no phane parent and is not named here.

A hydroxy or amino group on a skeletal atom other than carbon is a principal group like any other

“Heterols”,:27230: “When the hydroxy group is attached to an atom other than carbon, hydroxy

compounds belong to a compound class called heterols. They are classified as hydroxy compounds and named using the suffix ‘ol’… Names formed using a suffix are preferred to those formed by means of the prefix ‘hydroxy’”;,:26213: “When attached to heteroatoms, amino groups are expressed as suffixes when representing the principal characteristic group”). The suffix is not built: such a group is named as a prefix only when a group of a senior class is the principal one, and the structure is not named otherwise.

class orthonym.rules.phane_pin.substituents.Suffix(core: 'str', atom: 'int', group: 'FrozenSet[int]')#

Bases: object

core: str#
atom: int#
group: FrozenSet[int]#
class orthonym.rules.phane_pin.substituents.Prefix(name: 'str', atom: 'int')#

Bases: object

name: str#
atom: int#
class orthonym.rules.phane_pin.substituents.Plan(suffixes: 'Tuple[Suffix, ...]', prefixes: 'Tuple[Prefix, ...]')#

Bases: object

suffixes: Tuple[Suffix, ...]#
prefixes: Tuple[Prefix, ...]#
orthonym.rules.phane_pin.substituents.plan_substituents(skel, free_valence=None)#

The suffix groups and the named prefixes of skel, or None when a group or a prefix is not built or an atom is left over.

free_valence is the dummy atom that stands for the parent of a substituent group,:16148 “Substituent groups derived from cyclophanes are formed by applying the principles described above”): the group has the suffix ‘yl’ at the skeleton atom the dummy atom is bonded to, and every characteristic group in it is a prefix (the suffix of a substituent group is its free valence,.