orthonym.decomposition.amide_parent_guard#
Note
Internal API. Names and behaviour may change between releases.
An amide named from its acid part must not leave a second amide of the same ring system as a prefix (2026-11-20).
(the principal chain or ring has the maximum number of principal characteristic groups) and: when two
carboxamide groups sit on one ring system, both are the suffix (‘naphthalene-1,8-dicarboxamide’, N groups N and N’). The decomposition cuts one amide bond and names the acid part with the other amide as a prefix (‘8-(methylcarbamoyl)naphthalene-1-carboxylic acid’), so the assembled name cited one amide as the suffix and the other as ‘methylcarbamoyl’: ‘N-methyl-8-(methylcarbamoyl)naphthalene-1-carboxamide’ shipped pin_verified (lb2+fa review).
- orthonym.decomposition.amide_parent_guard.second_amide_on_acid_ring(acid_smiles)#
True when the acid part (
acid_smiles, the cut amide written as its acid) carries an amide whose carbonyl carbon is bonded to the ring system that bears the carboxyl carbon.