orthonym.assembly.acyl_halide_prefix#
Note
Internal API. Names and behaviour may change between releases.
The prefix of an acyl halide or pseudohalide group on a ring or a heteroatom: ‘carbonochloridoyl’.
‘Acyl halides and pseudohalides as substituent groups’ (the Blue Book): “When another group is
present that has priority for citation as principal group… an acyl halide or pseudohalide is expressed: (1) by a prefix formed from the name of the acid, for example, ‘carbonochloridoyl’;… (3) at the end of an acyclic carbon chain by a prefix denoting the halide or pseudohalide group and the prefix ‘oxo’… Method (1) leads to preferred IUPAC names when the suffix ‘-carboxylic acid’ is used to name the corresponding acid; method (3) generates preferred IUPAC names for acyclic carbon chains.” Examples: ‘2-carbonochloridoylbenzoic acid (PIN)’, ‘2-carbonocyanidoyl-5-methylbenzoyl chloride (PIN)’, ‘2-carbonocyanidothioylbenzoyl chloride (PIN)’, ‘3-(carbonobromidoyloxy)-3-oxopropanoic acid (PIN)’. The general substituent writer spelled the group ‘chloro(oxo)methyl’, which the PIN tier refuses, so a ring acyl halide beside an ester had no PIN (‘methyl 4-[chloro(oxo)methyl]benzoate’). A group on a chain carbon is left to method (3).
- orthonym.assembly.acyl_halide_prefix.carbono_acyl_prefix(mol, frag_atoms, attach_idx)#
‘carbonochloridoyl’ when
frag_atomsis one acyl carbonattach_idxwith a doubly bonded O or S and one F, Cl, Br, I or cyano group, joined to a ring atom or a heteroatom outside the fragment; None for any other shape (a chain carbon outside, a charge, a nuclide label, more atoms).
- orthonym.assembly.acyl_halide_prefix.holds_principal_group(mol, atom_idx)#
True when
atom_idxis an atom of a match of the principal characteristic group ofmol. Such a group is the suffix, the Blue Book: a functional suffix represents “the principal characteristic group”), so these prefix writers leave it to the producers that weigh parents with it (‘4-ethoxy-N-[(pyridin-2-yl)methyl] naphthalene-1-sulfonamide’, never ‘1-ethoxy-4-{[(pyridin-2-yl)methyl]sulfamoyl}naphthalene’).