orthonym.rules.phane_pin.prefix#

Note

Internal API. Names and behaviour may change between releases.

A linear phane as a substituent group,,,.

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

  • (:16148): “Substituent groups derived from cyclophanes are formed by applying the principles described above”; the book prints one: trimethyl[1^2H-1(6)-pyrana-3,5(1,4),7(1)-tribenzenaheptaphan-7^4-yl]silane (PIN) (:19325, under: the silane is the parent because Si is senior to O).

  • (:18875) and (:18917) decide which parent is senior. The reader of the spelling check (validation.spelling.linear_phane) applies them to the whole structure: its verdict as_prefix says that the phane is not the parent, so the PIN cites it in a prefix. A prefix is built here only for such a structure.

*: the suffix of a substituent group is its free valence (‘yl’); the characteristic groups in it are prefixes.

The free valence is a suffix for the numbering (c) to (e)), which numbering already reads for a suffix group.

The fragment of the structure that is the substituent group is read as a molecule of its own, with a dummy atom for the parent. The chain is the longest linear phane chain in it (linear_phane_candidate_chains), the free valence is on one of its skeleton atoms, and everything else in the fragment is a prefix. The labels of the stereogenic units are the ones of the whole structure,:44639: the descriptors of a substituent group are cited at the front of its prefix, and a name states the configuration of the whole structure). A fragment whose attachment is a stereogenic unit is not built. The name is read back by OPSIN as a radical and compared, with a hydrogen atom for the free valence, to the fragment.

orthonym.rules.phane_pin.prefix.phane_prefix(mol, frag_atoms, attach_idx)#

The substituent prefix of the linear phane in the fragment frag_atoms of mol, attached to the rest of the structure at attach_idx (the atom of the fragment or the atom of the parent, as the substituent namers pass it), or None: with an OPSIN that reads no phane name, when the whole structure does not cite a phane prefix, when the fragment holds no linear phane chain or is bonded to the structure in another way than by one single bond, when a group of it is not built, or when the name does not read back to the fragment.