orthonym.validation.spelling.checks_chalcone#
Note
Internal API. Names and behaviour may change between releases.
Spelling check: a chalcone is named ‘chalcone’ (registered with
orthonym.validation.pin_spelling.register()).
(the Blue Book, under KETONES, Retained names): “The name ‘chalcone’ is the only
retained name as a preferred IUPAC name and is limited to ring substitution only by characteristic groups lower than ‘ketone’. Chalcone refers only to the trans- or (E)- stereoisomer.”, ‘chalcone (PIN) (2E)-1,3-diphenylprop-2-en-1-one’ (:28299), ‘2’,4’-dihydroxy-3,3’-dimethoxychalcone (PIN) (2E)-1-(2,4-dihydroxy-3-methoxyphenyl)-3-(3-methoxyphenyl) prop-2-en-1-one’ (:28303); a group senior to the ketone keeps the systematic name: ‘4-[(1E)-3-(2,4-dihydroxyphenyl)-3- oxoprop-1-en-1-yl]benzamide (PIN) (not 2’,4’-dihydroxychalcone-4-carboxamide)’ (:28305).
The structure decides whether the name is the chalcone’s (E-1,3-diaryl-prop-2-en-1-one, two benzene rings joined to the chain, each ring alone in its system, no group of the ketone’s class or a senior one anywhere: nothing outside the chain and the rings has a double or triple bond to a heteroatom, but the nitro group); the name side is whether it cites the systematic ‘prop-2-en-1-one’ parent. No naming code, no OPSIN.
- orthonym.validation.spelling.checks_chalcone.chalcone_skeleton(mol)#
(ring_a_c, c1, o1, c2, c3, ring_b_c, ring_a, ring_b)of an (E)-1,3-diarylprop-2-en-1-one of two benzene rings, each alone in its ring system, with no group of the ketone’s class or a senior one outside the chain and the rings (nothing outside them has a double or triple bond to a heteroatom, but the nitro group); else None.ring_aholds the ring of the benzoyl half,ring_bthat of the styryl half. The producer of the substituted name (rules.chalcones) reads the same structure.
- orthonym.validation.spelling.checks_chalcone.chalcone_name_check(mol, name)#
An (E)-1,3-diarylprop-2-en-1-one of two benzene rings (ring substituents of classes lower than the ketone) named on the systematic parent ‘prop-2-en-1-one’ instead of ‘chalcone’.