browser: robustify hdf5 read

This commit is contained in:
Robert Jördens 2016-04-08 11:54:49 +08:00
parent 6773d9e734
commit 01f2b6731c

View File

@ -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: