mirror of https://github.com/m-labs/artiq.git
browser: suppress icon warnings from inaccessible datasets, closes #470
This commit is contained in:
parent
a8b211f891
commit
53eb35cbb8
|
@ -16,6 +16,8 @@ def open_h5(info):
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
return h5py.File(info.filePath(), "r")
|
return h5py.File(info.filePath(), "r")
|
||||||
|
except OSError: # e.g. file being written (see #470)
|
||||||
|
return
|
||||||
except:
|
except:
|
||||||
logger.warning("unable to read HDF5 file %s", info.filePath(),
|
logger.warning("unable to read HDF5 file %s", info.filePath(),
|
||||||
exc_info=True)
|
exc_info=True)
|
||||||
|
|
Loading…
Reference in New Issue