orthonym.validation.fullerene_read_back#
Note
Internal API. Names and behaviour may change between releases.
A (C60-Ih)[5,6]fullerene name read back by building the structure it states, apart from the producer.
OPSIN 2.9.0 (and OPSIN’s main branch) reads no fullerene name: neither ‘(C60-Ih)[5,6]fullerene’ nor any
derivative parses, so a fullerene name has no read-back by OPSIN and used to be declined. This module
reads a name of the class the producer builds (rules.bridged_fused_pin.fullerene: a C60 skeleton with
at most one addend on a [6,6] bond) as the structure it states and compares that structure with the input
by the FULL standard InChIKey and by the fixed-hydrogen layer, which tells the tautomers of a ring N-H
apart. It shares no code with the producer: the name is parsed here, the skeleton is the fact table of
data.fullerene_c60 (verified by its own tests), the attached monocycles are this module’s own table
(_COMPONENTS, checked against OPSIN’s reading of the ring names by the tests), the suffix groups are
this module’s own table, and what is compared is the key of the built molecule against the key of the input.
OPSIN reads only the substituent names (<prefix>silane), the ester alkyl words and the outer name of a
fullerene that is a substituent of a larger structure.
Systematic names (the Blue Book): ‘(C60-Ih)[5,6]fullerene (PIN)’; NUMBERING OF FULLERENES (:15336), the locants of
data.fullerene_c60.Fullerenes and modified fullerenes ortho fused to organic rings or ring systems (:15464-15480): “the pair of atoms shared by the fullerene or modified fullerene and the organic ring or ring system is regarded as part of both components… each component retains its own bonding pattern and numbering. Because of the nature of bonding in fullerenes, the fusion bond is always a single bond and the fusion atoms cannot accept an ‘exo’ double bond. After fusion, nonfullerene components other than alicyclic bi- and polycyclic ring systems have the maximum number of noncumulative double bonds and indicated hydrogen is cited as needed…. The fullerene or modified fullerene locants are always unprimed, and primes are added to the fused organic ring… The fusion is described by citing the primed locants of the organic ring or ring system component and the unprimed locants of the fullerene… in that order, enclosed in brackets and separated by a colon. Locants for monocyclic hydrocarbons are omitted in preferred IUPAC names.” (‘3’H-cyclopropa[1,9](C60-Ih)[5,6]fullerene’, ‘[1,3]dioxolo[4’,5’:1,9] (C60-Ih)[5,6]fullerene’.) A monocyclic hydrocarbon’s atoms take the locants 1’ and 2’ at the fusion bond: which cage atom is 1’ is not stated, and it does not matter here: the two cage atoms of the fusion bond are equivalent in the cage with no other addend (a symmetry of the cage swaps them), so both readings give one molecule.
- *, and (hydro prefixes, indicated hydrogen, added hydrogen): the atoms
named by ‘hydro’, by indicated hydrogen (‘3’H’) and by added hydrogen (‘1(9H)’) are saturated; the other atoms that can carry a ring double bond have the maximum number of noncumulative double bonds, a perfect matching, or the name is not read. (:26870) ‘(C60-Ih)[5,6]fulleren-1(9H)-ol’, (:25834) ‘1-(trifluoromethyl)-1,9-dihydro(C60-Ih)[5,6]fullerene’.
(:7619): the final ‘e’ of ‘fullerene’ is elided before a suffix that begins with a vowel.
The check proves the structure and never the spelling; a name this module cannot read (another component, an unlocanted prefix, a suffix outside the table, a structure of another class) is not read back.
- orthonym.validation.fullerene_read_back.fullerene_name_shape(name)#
Whether
nameholds the (C60-Ih)[5,6]fullerene core token: the shape the validity gate sends here.
- orthonym.validation.fullerene_read_back.fullerene_read_back(name, smiles)#
True when the structure
namestates has the FULL standard InChIKey ofsmilesand its fixed-hydrogen InChI. False for a name this module cannot read, and for any error: the check fails closed.
- orthonym.validation.fullerene_read_back.fullerene_gate_ships(name, smiles)#
The validity gate’s question for a fullerene name OPSIN cannot read: True when the name has the core token and the structure it states is the input’s (
fullerene_read_back). A best-effort request only: the producer names a fullerene in no other, so a name that holds the token anywhere else is not shipped.