orthonym.rules.benzene_unnumbered#

Note

Internal API. Names and behaviour may change between releases.

The groups of a benzene whose retained names number nothing of them (IUPAC 2013,.

‘Location of nuclides on positions not normally denoted by locants’ (the Blue Book),

: “When the nuclide is located at a position in a retained name that is not numbered a systematic name that identifies separately the relevant atom is used for the IUPAC preferred name.” Its examples (:44253,:44255): ‘benzene(13C)carbonitrile (PIN)’, ‘benzene(13C)carboxylic acid (PIN)’, not ‘(cyano-13C)benzonitrile’ and ‘(carboxyl-13C)benzoic acid’.

The retained ‘benzonitrile’, ‘benzoic acid’, ‘benzamide’, ‘benzohydrazide’ and ‘benzaldehyde’ number the ring and no position of the carbon of their group. The isotope decorator (rules.isotopes) names the isotope-stripped molecule inside assembly.locant_omission.systematic_names_for_unnumbered_labels once no placement on the retained spelling has read back, and rules.benzene._assemble_benzene_with_suffix then asks label_on_unnumbered_group() whether a nuclide sits on that carbon (or, for an aldehyde, its oxygen or its hydrogen) and builds the systematic name (systematic_group_name()) instead of the retained one.

orthonym.rules.benzene_unnumbered.UNNUMBERED_GROUP_SUFFIXES = frozenset({'carbaldehyde', 'carbohydrazide', 'carbonitrile', 'carboxamide', 'carboxylic acid'})#

The suffix groups whose carbon the retained names above do not number.

orthonym.rules.benzene_unnumbered.label_on_unnumbered_group(mol, oriented_ring, suffix, locants)#

True inside systematic_names_for_unnumbered_labels when a nuclide of the labelled molecule being named sits on the carbon of the ONE group suffix (one of UNNUMBERED_GROUP_SUFFIXES) that stands at ring locant locants[0] of oriented_ring, on the oxygen of its formyl, or on a hydrogen of either. Outside the scope the retained name stands.

orthonym.rules.benzene_unnumbered.RETAINED_BENZENE_NAMES = frozenset({'benzaldehyde', 'benzamide', 'benzohydrazide', 'benzoic acid', 'benzonitrile'})#

‘benzonitrile’, ‘benzoic acid’, ‘benzamide’, ‘benzohydrazide’, ‘benzaldehyde’

Type:

The retained names of a whole benzene with one such group (data.retained_names)

orthonym.rules.benzene_unnumbered.retained_benzene_group_is_labelled(mol, name)#

True inside systematic_names_for_unnumbered_labels when name is one of RETAINED_BENZENE_NAMES and a nuclide of the labelled molecule being named sits on the carbon of the group of mol (or on the oxygen of its formyl, or on a hydrogen of either): the table of retained names then does not name it, and the benzene handler spells the systematic name (systematic_group_name()), as for a benzene with other substituents.

orthonym.rules.benzene_unnumbered.systematic_group_name(prefix_groups, group_locant, suffix)#

The systematic name of a benzene with one group of UNNUMBERED_GROUP_SUFFIXES and the substituents prefix_groups: its locant is cited beside any other substituent, as for the sulfonic acids (‘4-aminobenzene-1-sulfonic acid’,, the Blue Book: deny by default).