orthonym.assembly.handlers.carbamate#
Note
Internal API. Names and behaviour may change between releases.
a phase carbamate handler — Tier B retained-name (gate 0.40).
Verbatim lift of composer.py:865-874 (inline branch) + composer.py:2561-2671 (_name_carbamate body). Per internal notes, body stays in composer.py until Plan-03 commit 03-10.
IUPAC cite: (carbamates; functional class naming).
References: - composer.py:865-874 (inline dispatch branch; REMOVED at this commit). - composer.py:2561-2671 (_name_carbamate body). - internal notes-DECOMP.md row ‘carbamate’ + purity proof.
- orthonym.assembly.handlers.carbamate.name_carbamate(features, mol=None, style='pin')#
a phase Tier-B carbamate handler.
- orthonym.assembly.handlers.carbamate.demote_below_carbamate_parent(features, name)#
Record
name, the functional-class name of an ester of a junior acid (a phosphorus or sulfur oxoacid), as below the PIN when the molecule’s parent is its carbamate ester (_is_carbamate()). Carbamic acid is a carbonic acid (class 7b, “CLASS 7b. CARBON ACIDS WITH NO SUBSTITUTABLE HYDROGEN ATOMS”, the Blue Book), senior to phosphonic and phosphinic acid (class 7c, and to phosphoric, phosphorous and sulfuric acid (class 7d,, and class 9 of ranks esters by their acid “Esters cited as prefixes”,:31696). The carbamate handler runs first (priority 700); the name of the junior ester is what is left when it cannot spell an R group, valid and read back by OPSIN but not the PIN, so the default tier declines it.