orthonym.rules.fused_sulfur_suffix#

Note

Internal API. Names and behaviour may change between releases.

Sulfur acid groups as the suffix of a fused ring parent: ‘quinoline-8-sulfonyl chloride’, ‘1H-indole-5-sulfonamide’.

The fused ring producer recognised four ring suffixes (-carboxylic acid, -carboxamide, -carbonitrile, -carbaldehyde); a sulfonic or sulfinic acid, a sulfonamide or a sulfonyl halide on a fused ring had no suffix, so these rings had no name at the PIN tier (‘1,3-benzothiazole-2-sulfonamide’). Suffixes: ‘Substitutive nomenclature, suffix mode, for sulfonic, sulfinic, etc., acids’ (the Blue Book), sulfonamides (:32744), acyl halides from suffix acids (:31412). Order, (:18162): 7a acids “carboxylic…, sulfonic, sulfinic”, 10 acid halides “in the order of the corresponding acid… then… (-F > -Cl > -Br > -I)”, 11 amides “in the order of the corresponding acids”, 14 nitriles, 15 aldehydes. Prefix forms when a senior group takes the suffix: ‘sulfo*’, ‘sulfino*’, ‘sulfamoyl*’ (Appendix 2,:56837,:56832,:55489), ‘chlorosulfonyl (preselected prefix)’ ,:36472).

orthonym.rules.fused_sulfur_suffix.SULFUR_SUFFIX_PREFIX: Dict[str, str] = {'sulfinic acid': 'sulfino', 'sulfonamide': 'sulfamoyl', 'sulfonic acid': 'sulfo', 'sulfonyl bromide': '(bromosulfonyl)', 'sulfonyl chloride': '(chlorosulfonyl)', 'sulfonyl fluoride': '(fluorosulfonyl)', 'sulfonyl iodide': '(iodosulfonyl)'}#

suffix -> prefix form, for the fused assembler’s suffix-to-prefix table

orthonym.rules.fused_sulfur_suffix.SULFUR_SUFFIX_CLASS: Dict[str, str] = {'sulfinic acid': 'sulfinic_acid', 'sulfonamide': 'primary_sulfonamide', 'sulfonic acid': 'sulfonic_acid', 'sulfonyl bromide': 'sulfonyl_halide', 'sulfonyl chloride': 'sulfonyl_halide', 'sulfonyl fluoride': 'sulfonyl_halide', 'sulfonyl iodide': 'sulfonyl_halide'}#

suffix -> the seniority class it expresses (seniority.SENIORITY_ORDER)

orthonym.rules.fused_sulfur_suffix.FUSED_SUFFIX_PRIORITY = ['carboxylic acid', 'sulfonic acid', 'sulfinic acid', 'sulfonyl fluoride', 'sulfonyl chloride', 'sulfonyl bromide', 'sulfonyl iodide', 'carboxamide', 'sulfonamide', 'carbonitrile', 'carbaldehyde']#

the detachable fused ring suffixes in decreasing seniority

orthonym.rules.fused_sulfur_suffix.fused_sulfur_suffix(mol, start_idx, excluded)#

The suffix record of an -SO3H, -SO2H, -SO2NH2 or -SO2X group whose sulfur start_idx is joined to the core (excluded) by one bond; None for any other shape, a charge, a nuclide label, or a second sulfonyl halide in the molecule (a multiplied halide suffix is left to the other ring writers).

orthonym.rules.fused_sulfur_suffix.amide_rival(mol, own)#

True when an acyclic -C(=O)-N or -C(=S)-N group (a carboxamide, a hydroxamic acid, an N-acyl group, a urea) lies outside the atoms own of the group claimed as suffix. Amides rank “in the order of the corresponding acids”, the Blue Book; carboxylic before sulfonic,:18172), and N-hydroxy amides are amides (:17568), but the perception ranks a sulfonamide above a hydroxamic acid; a ring C(=O)-N is a lactam, a pseudoketone (class 16), and does not count.