lower case nucs in half-life

This commit is contained in:
Jonathan Shimwell 2022-06-22 23:27:41 +01:00
parent 270ef8346c
commit 344c2a4640
2 changed files with 3562 additions and 3562 deletions

View file

@ -300,7 +300,7 @@ def half_life(isotope):
half_life_path = Path(__file__).with_name('half_life.json')
_HALF_LIFE = json.loads(half_life_path.read_text())
return _HALF_LIFE.get(isotope.title())
return _HALF_LIFE.get(isotope.lower())
def water_density(temperature, pressure=0.1013):
"""Return the density of liquid water at a given temperature and pressure.

File diff suppressed because it is too large Load diff