mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Fix export of atomic relaxation transition data for pandas 0.24.0
This commit is contained in:
parent
57ed2f8e4b
commit
ed91913778
1 changed files with 2 additions and 1 deletions
|
|
@ -735,7 +735,8 @@ class IncidentPhoton(EqualityMixin):
|
|||
shell_values.insert(0, None)
|
||||
df = relax.transitions[shell].replace(
|
||||
shell_values, range(len(shell_values)))
|
||||
sub_group.create_dataset('transitions', data=df.values)
|
||||
sub_group.create_dataset(
|
||||
'transitions', data=df.values.astype(float))
|
||||
|
||||
# Determine threshold
|
||||
threshold = rx.xs.x[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue