orthonym.rules.ring_centres#

Note

Internal API. Names and behaviour may change between releases.

Ring-centre helpers of the charged and radical ring suffixes (ions): the ring system of a centre, and a ring carbenium the cumulative-suffix path cannot number, named through its ‘-yl’ group.

orthonym.rules.ring_centres.ylium_as_ring_substituent(mol, center_idx)#

A ring carbenium the in-place path cannot number, named through the ring’s substituent group at the same atom: ‘<group>-<n>-yl’ + ‘ium’.

: a cation formed by loss of a hydride is named with the suffix ‘ylium’ on the parent hydride, in the way the suffix ‘yl’ names the substituent group of the same atom (‘9H-fluoren-9-yl’, ‘9H-fluoren-9-ylium’). The in-place path has no numbering for a fused system outside its tables, or no neutral ring for a centre perceived as aromatic (c1ccc2ccc[cH+]c-2cc1); the ring-system substituent namer numbers it, so the cation is ‘1H-benzo[7]annulen-1-ylium’, the localized fused form of (‘1-methyl-5H-cyclohepta[b]pyridin-1-ium-5-ylium (PIN)’, the Blue Book). The centre becomes a radical with its own hydrogen (the namers of radicals._placeholder_prefix name it). Returns ‘’ unless the PIN route builds a locanted ‘-yl’ group.