mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
One more fix for HDF5 version compatibility
This commit is contained in:
parent
6280cb45c3
commit
d02d565aaf
1 changed files with 1 additions and 1 deletions
|
|
@ -667,7 +667,7 @@ class IncidentPhoton(EqualityMixin):
|
|||
|
||||
"""
|
||||
# Open file and write version
|
||||
f = h5py.File(path, mode, libver='latest')
|
||||
f = h5py.File(path, mode, libver=libver)
|
||||
f.attrs['filetype'] = np.string_('data_photon')
|
||||
if 'version' not in f.attrs:
|
||||
f.attrs['version'] = np.array(HDF5_VERSION)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue