browser: robustify hdf5 read

This commit is contained in:
Robert Jördens 2016-04-08 11:54:49 +08:00
parent 6773d9e734
commit 01f2b6731c
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ class ResultsBrowser(QtWidgets.QSplitter):
f = h5py.File(info.filePath(), "r") f = h5py.File(info.filePath(), "r")
except: except:
logger.warning("unable to read HDF5 file", exc_info=True) logger.warning("unable to read HDF5 file", exc_info=True)
return
with f: with f:
rd = {} rd = {}
try: try: