forked from M-Labs/artiq
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
|
||||
try:
|
||||
return h5py.File(info.filePath(), "r")
|
||||
except OSError: # e.g. file being written (see #470)
|
||||
return
|
||||
except:
|
||||
logger.warning("unable to read HDF5 file %s", info.filePath(),
|
||||
exc_info=True)
|
||||
|
Loading…
Reference in New Issue
Block a user