orthonym.rules.pah_sulfur_groups#

Note

Internal API. Names and behaviour may change between releases.

Sulfur acid groups on a polycyclic hydrocarbon parent: ‘naphthalene-2-sulfonamide’, ‘2-sulfamoylnaphthalene-…’.

The polycyclic producer knew one sulfur suffix, ‘-sulfonic acid’; a sulfinic acid or a sulfonamide on naphthalene, anthracene or another parent of its table had no name at the PIN tier (‘naphthalene-2-sulfonamide’ fell to ‘bicyclo[4.4.0]deca-1(10),2,4,6,8-pentaene-3-sulfonamide’). Suffixes: sulfonic and sulfinic acids (the Blue Book), sulfonamides (:32744); when another group is the principal group the prefix forms ‘sulfino*’, ‘sulfamoyl*’ and ‘chlorosulfonyl (preselected prefix)’ are used (Appendix 2,:56832,:55489;, :36472). The group records come from the writers the fused ring and substituent producers share (fused_sulfur_suffix, sulfur_acid_group_prefix).

orthonym.rules.pah_sulfur_groups.PAH_SULFUR_SUFFIXES = ('sulfinic acid', 'sulfonamide')#

the suffixes this module gives the polycyclic producer (its ‘_SUFFIX_PRIORITY’ ranks them,

orthonym.rules.pah_sulfur_groups.pah_sulfur_group(mol, s_idx, core_atoms, frag_atoms)#

The substituent record of the sulfur group rooted at s_idx on the polycyclic core core_atoms: a suffix record for the principal sulfinic acid or primary sulfonamide, a prefix record for such a group (or a sulfonyl halide) that is not the principal group, None for any other shape.