mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Cosmetic fixes from PullRequest [2019-12-05]
This commit is contained in:
parent
8fcd74b14b
commit
6d0aa86cef
39 changed files with 247 additions and 222 deletions
|
|
@ -243,8 +243,7 @@ def update_materials(root):
|
|||
for material in root.findall('material'):
|
||||
for nuclide in material.findall('nuclide'):
|
||||
if 'name' in nuclide.attrib:
|
||||
nucname = nuclide.attrib['name']
|
||||
nucname = nucname.replace('-', '')
|
||||
nucname = nuclide.attrib['name'].replace('-', '')
|
||||
# If a nuclide name is in the ZAID notation (e.g., a number),
|
||||
# convert it to the proper nuclide name.
|
||||
if nucname.strip().isnumeric():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue