From 01f2b6731ca247e64dd5b780af4b20fc99d7c1d9 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Fri, 8 Apr 2016 11:54:49 +0800 Subject: [PATCH] browser: robustify hdf5 read --- artiq/browser/results.py | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/browser/results.py b/artiq/browser/results.py index 3daa425f8..1aec0796f 100644 --- a/artiq/browser/results.py +++ b/artiq/browser/results.py @@ -96,6 +96,7 @@ class ResultsBrowser(QtWidgets.QSplitter): f = h5py.File(info.filePath(), "r") except: logger.warning("unable to read HDF5 file", exc_info=True) + return with f: rd = {} try: