orthonym.assembly.carbazate_names#
Note
Internal API. Names and behaviour may change between releases.
The ester of hydrazinecarboxylic acid, R-O-C(=O)-NH-NH2 (lane/l17 item 3 fix round).
(the Blue Book, its Note and its example:30682): the replacement of the hydrogen of formic acid by -NH-NH2
- gives ‘hydrazinecarboxylic acid (PIN)’ (not carbazic acid), a carboxylic acid on the parent hydride hydrazine.
(:31663): “All preferred IUPAC names for esters are named by functional class nomenclature”, so the ester of it
is ‘R hydrazinecarboxylate’, with no locant for the one hydrazine position the acid group can take. The carbamic-acid builder
of composer._name_carbamate would spell the unit ‘R aminocarbamate’ (its N-substituent is an amino group), a name of the
wrong class, so the carbazate is built here and the builder is not asked for it.
- orthonym.assembly.carbazate_names.free_hydrazine_nitrogen(mol, n_idx, c_idx)#
The terminal nitrogen of the NH2 of a hydrazinecarboxylic acid unit R-O-C(=O)-NH-NH2, when the carbamate nitrogen
n_idx(bonded to the carbonyl carbonc_idx) is that unit’s NH; None otherwise.Both nitrogens are neutral and not ring atoms, the nitrogen next to the carbonyl bears one hydrogen, the terminal one two, the bond between them is single, and neither is isotopically labelled (a substituted hydrazine has locants, which this name has not; a labelled molecule is named through its unlabelled form).
- orthonym.assembly.carbazate_names.hydrazinecarboxylate_name(features)#
‘R hydrazinecarboxylate’ for the molecule’s one carbamate when it is the ester of hydrazinecarboxylic acid; ‘’ when it is, and R cannot be named (the caller declines, never the ‘aminocarbamate’ spelling); None when the carbamate is not that ester (the carbamic-acid builder names it).
- orthonym.assembly.carbazate_names.substituted_hydrazinecarboxylate_name(mol, n_idx, c_idx)#
‘R 2-methylhydrazine-1-carboxylate’ for the ester R-O-C(=O)-N(R1)-N(R2)R3 of a substituted hydrazinecarboxylic acid; None when the carbamate nitrogen
n_idxis not bonded to a second acyclic nitrogen (the carbamic-acid builder names it); ‘’ when it is and a part cannot be named (the caller declines).The hydrazine nitrogens are numbered from the carbonyl (1, then 2) and the substituents cited with those locants, as the book’s carboxamides of the same acid: ‘2-(propan-2-ylidene)hydrazine-1-carboxamide (PIN)’ (the Blue Book), ‘N,1-dimethylhydrazine-1-carboxamide (PIN)’ (:38637); the substituents are named and ordered by the helpers of
rules.inorganic_acids.name_hydrazinecarboxamide,.
- orthonym.assembly.carbazate_names.hydrazine_second_nitrogen(mol, n_idx, c_idx)#
The second nitrogen of a hydrazinecarboxylic acid unit R-O-C(=O)-N(R1)-N(R2)R3 whose first nitrogen is
n_idx: the free NH2 (free_hydrazine_nitrogen()) or the one plain acyclic nitrogen single-bonded to a plain acyclicn_idx(substituted_hydrazinecarboxylate_name()); None otherwise.