Disable watching for HDF5 "folders" in filebrowser
In filebrowser component, HDF5 files are treated as containers/folders. This means that file watching with os.listdir
is enabled for HDF5 files, which fails with a NotADirectoryError
.
This PR disables the watching loop for HDF5 files. We could imagine implementing a derived watching loop for HDF5 but I think opening/closing the hdf5 file every 2 seconds is prone to errors/corruption