Allow V0 in atomic_mass function (for ENDF/B-VII.0 data) (#3607)

This commit is contained in:
jiankai-yu 2025-10-14 16:21:11 -04:00 committed by GitHub
parent 58c7fbeac6
commit e9077b1372
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -324,7 +324,7 @@ def atomic_mass(isotope):
# isotopes of their element (e.g. C0), calculate the atomic mass as
# the sum of the atomic mass times the natural abundance of the isotopes
# that make up the element.
for element in ['C', 'Zn', 'Pt', 'Os', 'Tl']:
for element in ['C', 'Zn', 'Pt', 'Os', 'Tl', 'V']:
isotope_zero = element.lower() + '0'
_ATOMIC_MASS[isotope_zero] = 0.
for iso, abundance in isotopes(element):