forked from M-Labs/artiq
browser: robustify hdf5 read
This commit is contained in:
parent
6773d9e734
commit
01f2b6731c
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue