orthonym.rules.benzene_acid_suffixes#
Note
Internal API. Names and behaviour may change between releases.
Ring-attached acid suffixes of benzene that functional replacement derives from -C(=X)-OH, and the thioacyl prefix of a ring branch.
rules/benzene.py names a benzene ring through the suffix of its senior group. The carboxylic acid
is replaced by its imidic acid, -C(=NH)-OH, and by the acids whose -OH or =O is replaced by S, Se or Te.
These suffixes follow one pattern – a SMARTS that matches (C,…) and a fixed suffix – so they are one
table here, read by benzene._identify_suffix_fg_on_benzene.
“Substitutive nomenclature, suffix mode” (the Blue Book): ‘benzenecarboximidic acid (PIN)’
(:30000); “Functional replacement in systematic names of carboxylic acids” (:30208): ‘propanimidothioic acid (PIN)’ (:30267), ‘butanehydrazonoselenoic acid (PIN)’ (:30269); “General methodology of functional replacement” (:18472), Table 4.3 (:18499): ‘-C(=NH)-SH carboximidothioic acid’ (:18537), ‘-C(=NH)-SeH carboximidoselenoic acid’ (:18538), ‘-CS-SH carbodithioic acid’ (:18522-:18523);
“Functional replacement in retained names of carboxylic acids” (:30277): ‘benzene-1,2-dicarbodithioic
acid (PIN) (not tetrathiophthalic acid)’ (:30313).
- orthonym.rules.benzene_acid_suffixes.ACID_SUFFIX_FGS = (('imidic_acid', 'carboximidic acid'), ('imidothioic_acid', 'carboximidothioic acid'), ('imidoselenoic_acid', 'carboximidoselenoic acid'), ('imidotelluroic_acid', 'carboximidotelluroic acid'), ('hydrazonothioic_acid', 'carbohydrazonothioic acid'), ('hydrazonoselenoic_acid', 'carbohydrazonoselenoic acid'), ('hydrazonotelluroic_acid', 'carbohydrazonotelluroic acid'), ('dithio_acid', 'carbodithioic acid'), ('hydroximic_acid', 'carboximidic acid'), ('hydroximic_thioic_acid', 'carboximidothioic acid'), ('hydroximic_selenoic_acid', 'carboximidoselenoic acid'), ('hydroximic_telluroic_acid', 'carboximidotelluroic acid'), ('n_substituted_imidic_O', 'carboximidic acid'), ('n_substituted_imidic_S', 'carboximidothioic acid'), ('n_substituted_imidic_Se', 'carboximidoselenoic acid'), ('n_substituted_imidic_Te', 'carboximidotelluroic acid'))#
(functional group, suffix), in the order the groups are looked for. =[NX2H1] (an unsubstituted imino N, as the perception FG requires) keeps an N-substituted imidate or imine out, and the -XH keeps the imidate ester (O-alkyl) and the amidine out; the =N- and the -XH make every one of these disjoint from the groups looked for before and after them.
- orthonym.rules.benzene_acid_suffixes.identify_chalcogen_acyl_group(mol, start_idx, ring_atoms)#
A ring-attached -C(=X)-R branch (X = S, Se, Te; R a carbon) as its acyl prefix, (the Blue Book): the acid R-C(=X)-OH is named by the strict PIN path and verified by OPSIN, and its ‘-ic O-acid’ becomes ‘-yl’ (‘ethanethioic O-acid’ -> ‘ethanethioyl’). The prefix is always enclosed,
(:7356) “Parentheses are used to clarify a modification made by functional replacement
prefixes” (‘4-(ethanethioyl)benzoic acid (PIN)’,:7358), so it is its own locant scope and the acid is named as a whole molecule: ‘sulfanyl(sulfanylidene)ethanethioyl (preferred prefix)’ (:30604), ‘2-[amino(sulfanylidene)ethanethioyl]benzoic acid (PIN)’ (:33215). The ‘atoms’ cover the whole branch. None = fail closed.