Class: AsciiChem::Linter::IsotopeSanityCheck
- Defined in:
- lib/asciichem/linter/isotope_sanity_check.rb
Overview
Sanity-checks isotope mass numbers against the element's atomic number. The isotope's mass must be ≥ the atomic number (a nucleus can't have fewer protons than its mass number suggests).
Atomic-number table is limited to common elements; unknown elements produce an info diagnostic, not an error.