orthonym.rules.multiplicative_arms#

Note

Internal API. Names and behaviour may change between releases.

The principal characteristic group of an acyclic arm of a multiplied unit.

rules.multiplicative._acyclic_arm_parent_and_locant names a linear acyclic arm (a suffix group at one end, the bridge attachment at the other) as the unit of a multiplicative name: ‘acetic acid’, ‘ethan-1-ol’, ‘ethan-1-amine’ and, an acyl halide of the acid, ‘acetyl chloride’. “Acyl halides from suffix acids” (the Blue Book): the acyl group of the acid “followed by the name(s) of the specific class(es)… each preceded by a multiplicative prefix, as needed”; the acid of the arm is the multiplicative PIN ‘2,2’-oxydiacetic acid’,:5848), so its acyl halide is ‘2,2’-oxydiacetyl dichloride’ (multiplied_class_word_units), as the ring acid ‘4,4’-oxydibenzoic acid’ gives ‘4,4’-oxydibenzoyl dichloride’.

orthonym.rules.multiplicative_arms.ACYL_HALIDE_WORDS = {'Br': 'bromide', 'Cl': 'chloride', 'F': 'fluoride', 'I': 'iodide'}#

the halogens of an acyl halide and the class word of each, Table 6.3, the Blue Book)

orthonym.rules.multiplicative_arms.find_arm_pcg(mol, arm, arm_carbons, allow_amine)#

(pcg_carbon, pcg, pcg_atoms, halide_word) of the arm, or None when it has no single group of the kinds above.

pcg is ‘acid’ (=O and -OH on one carbon), ‘acyl_halide’ (=O and one halogen; halide_word its class word), ‘ol’ (an -OH on a carbon without a carbonyl) or, with allow_amine, ‘amine’ (a terminal -NH2).