mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Support from_hdf5 for older format neutron files without redundant
This commit is contained in:
parent
04fa0b27f9
commit
dbe2294c04
1 changed files with 1 additions and 1 deletions
|
|
@ -924,7 +924,7 @@ class Reaction(EqualityMixin):
|
|||
rx = cls(mt)
|
||||
rx.q_value = group.attrs['Q_value']
|
||||
rx.center_of_mass = bool(group.attrs['center_of_mass'])
|
||||
rx.redundant = bool(group.attrs['redundant'])
|
||||
rx.redundant = bool(group.attrs.get('redundant', False))
|
||||
|
||||
# Read cross section at each temperature
|
||||
for T, Tgroup in group.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue