orthonym.assembly.sulfur_acid_group_prefix#

Note

Internal API. Names and behaviour may change between releases.

The prefix of a sulfur acid group cited as a substituent: ‘sulfo’, ‘sulfino’, ‘sulfamoyl’, ‘chlorosulfonyl’.

Appendix 2 (preferred prefixes marked ): ‘sulfo (when unmodified)’ (the Blue Book), ‘sulfino* (when unmodified)’ (:56832), ‘aminosulfonyl = sulfamoyl* = sulfuramidoyl’ (:55489,, ‘phenylsulfamoyl*’ (:55494), ‘aminosulfinyl* (not sulfinamoyl)’ (:55485); (:36472,:36482): ‘-SO2-Cl chlorosulfonyl (preselected prefix)’, ‘-S(=O)-Cl chlorosulfinyl (preselected prefix)’. The shared substituent namers had no case for a fragment rooted at such a sulfur and returned their ‘substituent’ sentinel, so a producer that names its prefixes through them dropped the group (‘propanoyl chloride’ for 3-sulfamoylpropanoyl chloride, rejected as another molecule).

orthonym.assembly.sulfur_acid_group_prefix.sulfur_acid_group_prefix(mol, frag_atoms, attach_idx, _ring_core_senior=False)#

The prefix of frag_atoms when it is one sulfur attach_idx (two or one doubly bonded O) with one OH, NH2, N-substituted amino (sulfonyl only) or halogen group, joined to one atom outside the fragment; None for any other shape (a charge, a nuclide label, a ring sulfur or nitrogen, a branch the namer cannot name).

orthonym.assembly.sulfur_acid_group_prefix.ring_n_sulfonyl_group(mol, s_idx, core_atoms, record_type=None)#

The prefix record (‘name’, ‘atoms’, and ‘type’ when record_type is given) of an -SO2- group on the core core_atoms whose other end is a ring nitrogen (‘(pyrrolidine-1-sulfonyl)’); None for any other sulfur group, which the ring producers name as before.

orthonym.assembly.sulfur_acid_group_prefix.ring_n_sulfonamide(mol, group_class, atoms)#

True for a sulfonamide match whose nitrogen is a ring atom: it has no suffix form (as the ‘hidden amide’ of , the Blue Book, is a pseudoketone), so it is cited as a sulfonyl prefix and is no senior group the name leaves out (‘5-(1,4-diazepane-1-sulfonyl)isoquinoline’).