diff --git a/benchmark/results.py b/benchmark/results.py index 26cf802a..f67970ef 100644 --- a/benchmark/results.py +++ b/benchmark/results.py @@ -59,7 +59,7 @@ def store_results(dataset, count, definition, query_arguments, head, tail = os.path.split(fn) if not os.path.isdir(head): os.makedirs(head) - f = h5py.File(fn, 'w') + f = h5py.File(name=fn, mode='w', libver='latest') for k, v in attrs.items(): f.attrs[k] = v @@ -83,7 +83,7 @@ def load_all_results(dataset=None, count=None, neurips23track=None, runbook_path if os.path.splitext(fn)[-1] != '.hdf5': continue try: - f = h5py.File(os.path.join(root, fn), 'r+') + f = h5py.File(name=os.path.join(root, fn), mode='r+', libver='latest') properties = dict(f.attrs) yield properties, f f.close() diff --git a/requirements_py3.10.txt b/requirements_py3.10.txt index 8afbbdae..073c6590 100644 --- a/requirements_py3.10.txt +++ b/requirements_py3.10.txt @@ -1,6 +1,6 @@ ansicolors==1.1.8 docker==6.1.2 -h5py==3.8.0 +h5py==3.10.0 matplotlib==3.3.4 numpy==1.24.2 pyyaml==6.0