orthonym.rules.adduct_stock_number#
Note
Internal API. Names and behaviour may change between releases.
The oxidation number of the metal of an adduct component drawn with covalent ligands: ‘oxomolybdenum(II)’.
A reader balances the charges of the components of an adduct name itself: OPSIN gives a neutral metal that carries no oxidation number the charge of a typical oxidation state when the other components are ions (‘pyridine-2,6- dicarboxylic acid—hydroxy(4-nitrophenyl)azanide—oxomolybdenum (1/1/1)’ reads [Mo+]), and keeps the metal of a component that cites its oxidation number (the Roman numeral after the element name, the Stock number of inorganic nomenclature) at that number less the bonds drawn to it. The oxidation number of a metal bonded only to ligands counted as anions (chloro and alkyl one each, oxo and imido two, nitrido three) is the sum of the orders of those bonds, so a component name with that number reads back to the metal as drawn: ‘oxomolybdenum(II)’ to O=[Mo] (OPSIN StructureBuilder.getMetalsThatCanBeImplicitlyCations leaves a metal with an oxidation number uncharged).
The number is computed by that rule, never fitted to the read-back: a carbonyl or isocyanide ligand is neutral and
counts zero (a cyanide one), and a component whose metal holds a metal-carbon or metal-silicon double or triple bond
(a carbene, carbyne or silylidene, whose formal count is a convention), another metal, a dative or aromatic bond, a
charged or radical neighbour, or two neighbours bonded to each other (an eta drawing) gets no number. An adduct name is no PIN, the Blue Book), so the spelling is offered at the
best-effort tier only, after the name without it fails, and ships only when OPSIN reads the whole name back to the
drawn structure (rules.adducts._parse_reproduces_depiction). Only the metals that data/metal_scope.py admits
to ZERO_VALENT (an oxidation number cited in an adduct component name).
- orthonym.rules.adduct_stock_number.stock_number(frag)#
(metal symbol, oxidation number) of the one metal atom of
fragby the rule above, or None.
- orthonym.rules.adduct_stock_number.stock_numbered(ordered, named, frag_mols)#
namedwith each component of one covalently bonded metal cited with its oxidation number (‘oxomolybdenum(II)’), or None when no component takes one.