Commit 35f1948f authored by Roland Haas's avatar Roland Haas

POWER: explicitly open input files read-only

parent 6c50857d
......@@ -91,7 +91,7 @@ def loadHDF5Series(nameglob, series):
series = HDF5 dataset name of dataset to load from files"""
dsets = list()
for fn in sorted(glob.glob(nameglob)):
fh = h5py.File(fn)
fh = h5py.File(fn, "r")
dsets.append(fh[series])
return joinDsets(dsets)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment