orthonym.assembly.carbamothioate_names#

Note

Internal API. Names and behaviour may change between releases.

The esters of carbamothioic and carbamodithioic acid, R-O-C(=S)-NR’2, R-S-C(=O)-NR’2 and R-S-C(=S)-NR’2 (lane/l17 item 3).

(the Blue Book): “Functional replacement in carbonic acid and carbamic acid names by -OO-, -S-, -Se-, and

-Te- is expressed by the infixes ‘peroxo’, ‘thio’, ‘seleno’, and ‘telluro’”, “Contrary to Rules through, functional replacement nomenclature is applied to the retained name ‘carbamic acid’”: ‘carbamothioic O-acid (PIN)’ for H2N-CS-OH (:30774) and ‘carbamothioic S-acid (PIN)’ for H2N-CO-SH (:30826); “Substitution of formic acid is not recommended for generation of these names”,:30756), so ‘(methylamino)methanethioate’ is no name of these esters.

“Esters of carbonic acid, cyanic acid, and polycarbonic acids modified by functional replacement” (:32023):

“Names of acids modified by functional replacement are used to generate preferred IUPAC names of corresponding esters. Element symbols O, S, etc. and locants are used to designate the location of organyl groups” (‘O,S-dimethyl carbonodithioate (PIN)’). So the ester is ‘O-R carbamothioate’ (the C=S one), ‘S-R carbamothioate’ (the C=O one) and, with no tautomer to tell, ‘R carbamodithioate’; the substituents of the nitrogen are cited in front of the acid word with no italic N, as for ‘carbamate’ ,:30766: ‘2-hydroxypropyl (2-aminoethyl)carbamate (PIN)’). Carbamic acid is a carbonic acid (class 7b,, so the ester ranks as the carbamate does (handlers.carbamate).

The carbamate builder of composer._name_carbamate names the O-esters of carbamic acid; this one names the sulfur analogues with the same R-group and N-substituent walkers. No Se/Te form is built: the unit is not recognised, so the molecule goes to the producers that follow, as before.

orthonym.assembly.carbamothioate_names.thiocarbamate_units(mol)#

The thiocarbamate ester units of mol as (n_idx, c_idx, kind, x_idx, r_idx): kind ‘O’ (R-O-C(=S)-N), ‘S’ (R-S-C(=O)-N) or ‘SS’ (R-S-C(=S)-N), x_idx the ester chalcogen, r_idx the first atom of R. Neutral, unlabelled atoms only (a labelled or charged unit is another molecule’s business).

orthonym.assembly.carbamothioate_names.carbamothioate_name(features, unit)#

‘O-R carbamothioate’, ‘S-R carbamothioate’ or ‘R carbamodithioate’ (with the N-substituents in front of the acid word) for the thiocarbamate ester unit; ‘’ when R or an N-substituent cannot be named (the caller declines).