FileNotFoundError is raised if only misspelled filename is passed to loading function witout a parent directory
If you are already in the directory of the file you want to upload with
qim3d.io.load()
and you misspell the filename, it raises the error:
FileNotFoundError: [Errno 2] No such file or directory: ''
But should raise 'ValueError("Invalid path")'
Example:
h5path = "small_fora.h5"
img = qim3d.io.load(h5path,virtual_stack=True,dataset_name='ex',return_metadata=False)
Edited by s184058