orthonym.rules.onium_groups#
Note
Internal API. Names and behaviour may change between releases.
The prefix of a carbon group on a mononuclear chalcogen onium cation, the Blue Book).
‘ethyl(propan-2-ylidene)oxidanium (PIN)’ (:41465): the groups on the cationic centre are prefixes, a carbon group
by its substituent name (‘propan-2-yl’, ‘2-methylpropyl’, ‘tert-butyl’, ‘prop-2-en-1-yl’, ‘2-chloroethyl’).
perception.chains.classify_substituent names an ‘alkyl’ group by its carbon count (‘propyl’ for propan-2-yl: another
constitution) and cannot name a heteroatom in it, so ions.emit_onium_hydride_parent asks the shared substituent
namer first and keeps the count-based name as the fallback.
- orthonym.rules.onium_groups.onium_carbon_group_name(mol, sub_atoms, neighbor, info)#
The prefix of the group
sub_atomsbonded to the centre throughneighbor(infois itsclassify_substituentrow): the name of the substituent namer for a carbon group, else the count-based name. False when only the count-based name was left for an ‘alkyl’ group that holds a heteroatom (an atom drop).