orthonym.rules.preselected_cage#

Note

Internal API. Names and behaviour may change between releases.

The preselected name of a von Baeyer or spiro system made of one noncarbon element.

“Heterocyclic noncarbon von Baeyer and spiro compounds” (the Blue Book),

(:23614): “Preselected names for von Baeyer compounds and for spiro compounds having only monocyclic components and consisting entirely of heteroatoms of the same kind are names formed by citing the appropriate prefix, such as ‘bicyclo’, ‘spiro’, etc., and descriptor enclosed within square brackets followed by a numerical prefix for the total number of heteroatoms and the name of the mononuclear parent hydride; alternative names for use in general nomenclature are formed by skeletal replacement (‘a’) nomenclature (see and “. The example is ‘bicyclo[4.2.1]nonasilane (preselected name)’ beside ‘nonasilabicyclo[4.2.1]nonane’ (:23618; HOMOGENEOUS HETEROCYCLIC VON BAEYER PARENT HYDRIDES,:9797, example:9810). The ‘a’ name is therefore not the preselected one, and ring_replacement.ReplacementPrefix.preselected_only makes every PIN producer refuse it.

This module builds the preselected name for the cage that is the whole structure (no group on it, no charge, no isotope, no stereo, standard bonding numbers, one single-bonded skeleton of one element). A cage with a group on it has no such name here and keeps the ‘a’ name of the wider tiers. Its twin spelling, the ‘a’ name OPSIN reads (validation.preselected_cage_twin), carries the read-back.

Boron is left out: (:7992) and (:8848) name the homogeneous chains and rings “other than boron hydrides”, whose names are those of (:37105, ‘triborane(5)’). The chalcogens are left out because their bridgeheads have a nonstandard bonding number.

orthonym.rules.preselected_cage.HYDRIDE_STEMS: Dict[str, Tuple[str, int]] = {'As': ('ars', 3), 'Bi': ('bismuth', 3), 'Ge': ('germ', 4), 'N': ('az', 3), 'P': ('phosph', 3), 'Pb': ('plumb', 4), 'Sb': ('stib', 3), 'Si': ('sil', 4), 'Sn': ('stann', 4)}#

‘silane’, ‘germane’, ‘stannane’, ‘plumbane’, ‘azane’, ‘phosphane’, ‘arsane’, ‘stibane’, ‘bismuthane’, Table 2.1,:7913)

Type:

element -> (stem of the mononuclear parent hydride without ‘ane’, standard bonding number)

orthonym.rules.preselected_cage.is_bare_single_element_cage(mol)#

The element symbol when mol is one connected skeleton of a single element of HYDRIDE_STEMS, every bond single, every atom at its standard bonding number with the hydrogens that fill it, and no charge, isotope, radical or stereo; else None.

orthonym.rules.preselected_cage.preselected_cage_name(mol, descriptor)#

bicyclo[4.2.1]nonasilane: the descriptor, the multiplying prefix of the number of skeletal atoms and the mononuclear parent hydride,:23614), or None when mol is not exactly one cage of one element.

orthonym.rules.preselected_cage.preselected_cage_result(mol, ring_type)#

(name, ring_atoms, atom_to_locant, True) for the dispatch of composer._assemble_complex_ring_name when mol is exactly one von Baeyer (‘bicyclo’, ‘polycyclic-bridged’) or spiro cage of one element; else None. The numbering is that of the hydrocarbon (a),:9803: “as described for bi- and polycyclic hydrocarbons in “), and every atom of the skeleton is the same, so it fixes nothing.