mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
lower case nucs in half-life
This commit is contained in:
parent
270ef8346c
commit
344c2a4640
2 changed files with 3562 additions and 3562 deletions
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue