orthonym.rules.isotope_placement#
Note
Internal API. Names and behaviour may change between releases.
The order of the placements of a nuclide descriptor that read back to the same molecule.
Kept apart from isotopes (a module at its size budget); _find_best_placement there sorts its placements with
placement_order().
- orthonym.rules.isotope_placement.labelled_group_locant(candidate, off)#
The locant of the substituent group that holds the descriptor spliced at
offofcandidate, else 99.(the Blue Book), “The preferred IUPAC name is based on the senior parent structure that has the
lowest locant(s) for isotopically modified substituent groups”: ‘2-bromo-1-{[2-(81Br)bromopentyl]oxy}pentane (PIN) [not 2-(81Br)bromo-1-[(2-bromopentyl)oxy]pentane]’, “attached at ‘1’ which is lower than ‘2’”. Where two placements read back to the same molecule (the constitution without the nuclide is symmetric), the group is the outermost bracketed group that holds the descriptor, or the simple prefix it stands before, and its locant is the number in front of it.
- orthonym.rules.isotope_placement.nuclide_has_equivalent_site(original)#
True when a labelled atom of
originalhas an equivalent atom without the labels (the constitution without the nuclides is symmetric at it): the case decides, two placements of one nuclide that read back.
- orthonym.rules.isotope_placement.placement_order(w, equivalent_site=False)#
The order of the placements of
_find_best_placement(w= p4542, locant, subscript form, placement quality, offset, descriptor, candidate); the locant of the modified group (labelled_group_locant()) counts where the nuclide has an equivalent site.