From d02d565aafe66419fc3d220cf71d0ce87c8706c4 Mon Sep 17 00:00:00 2001 From: amandalund Date: Thu, 13 Sep 2018 11:44:47 -0500 Subject: [PATCH] One more fix for HDF5 version compatibility --- openmc/data/photon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/data/photon.py b/openmc/data/photon.py index 5ba5f105a2..61c903158b 100644 --- a/openmc/data/photon.py +++ b/openmc/data/photon.py @@ -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)