orthonym.assembly.chain_carboxamide#
Note
Internal API. Names and behaviour may change between releases.
A carboxamide at the end of a carbon chain, the substituent the PIN tier names by method (1) of.
- orthonym.assembly.chain_carboxamide.is_chain_carboxamide(mol, sub_atoms, attach_idx)#
True for a substituent that is an acyclic carbon chain of two or more carbons, attached at a carbon, ending in a carboxamide -C(=O)-N< whose N carries only hydrogen, saturated carbon or ring-bearing groups: “Carbamoyl and amino groups may be substituted in the normal way”, the Blue Book; ‘C6H5-NH-CO-CH2– 2-anilino-2-oxoethyl (preferred prefix)’, ,:24603). Apart from the ring-bearing groups on the N, the fragment holds no other heteroatom, no ring atom, no charge and no radical, so the chain’s name is the method (1) ‘amino’ + ‘oxo’ form and nothing else in it is decided here; a ring-bearing group on the N is named by the ring namer as the substituent of the ‘amino’ prefix (‘2-(cyclohexylamino)-2-oxoethyl’).
- orthonym.assembly.chain_carboxamide.is_ring_amino(mol, sub_atoms, attach_idx)#
True for an amino group attached at its nitrogen to an acyclic acyl carbon, whose other substituents are hydrogen, ring-bearing groups and saturated alkyl groups (‘ethylamino’): the ‘anilino’, ‘(cyclohexylamino)’ prefix of the amide nitrogen of a chain carboxamide, the Blue Book; ‘2-anilino-2-oxoethyl (preferred prefix)’,:24603).
- orthonym.assembly.chain_carboxamide.pin_amide_prefix(mol, sub_atoms, attach_idx)#
Whether the PIN tier names the fragment by the located namer as an amide prefix: a chain carboxamide (
is_chain_carboxamide()) or the ring-bearing amino group on its acyl carbon (is_ring_amino()).