browser: suppress icon warnings from inaccessible datasets, closes #470

This commit is contained in:
Robert Jördens 2016-06-15 16:54:06 +02:00
parent a8b211f891
commit 53eb35cbb8

View File

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