mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
fixed issue with expanded elements into their naturally-occurring isotopes
This commit is contained in:
parent
f9c44a99c1
commit
9898eea1f2
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ class Element(object):
|
|||
|
||||
isotopes = []
|
||||
for isotope, abundance in natural_abundance.items():
|
||||
if isotope.startswith(self.name):
|
||||
if isotope.startswith(self.name + '-'):
|
||||
nuc = openmc.Nuclide(isotope, self.xs)
|
||||
isotopes.append((nuc, abundance))
|
||||
return isotopes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue