orthonym.validation.spelling.checks_pseudohalide#

Note

Internal API. Names and behaviour may change between releases.

Spelling check: the prefixes of -O-CN, -S-CN and -Se-CN (registered with orthonym.validation.pin_spelling.register()).

“Cyanic acid” (the Blue Book),:30981: “Preferred prefixes derived from cyanic acid are

‘cyano’ for -CN and ‘cyanato’ for -O-CN, ‘thiocyanato’ for -S-CN, ‘selenocyanato’ for -Se-CN”; ‘3-(thiocyanato)propanoic acid (PIN)’ (:31013). ‘cyanooxy’, ‘cyanosulfanyl’ and ‘cyanoselanyl’ (a cyano group on an O, S or Se substituent) are the substitutive spellings of the same groups and are not preferred. The name side is the three words; the structure side is a divalent O, S or Se bonded to a nitrile carbon. No naming code, no OPSIN.

orthonym.validation.spelling.checks_pseudohalide.pseudohalide_prefix_check(mol, name)#

(:30981): the name writes -O-CN / -S-CN / -Se-CN as ‘cyanooxy’ / ‘cyanosulfanyl’ / ‘cyanoselanyl’ where ‘cyanato’ / ‘thiocyanato’ / ‘selenocyanato’ are the preferred prefixes.