h52nx: issue when converting the `mdXXX` file
It seems like converting a mdXXX
file with relative path seems to work like
nxtomomill h52nx mdMyDataset.h5
but when providing the absolute path like
nxtomomill h52nx /XXX/YYY/mdMyDataset.h5
it fails with
with HDF5File(url.file_path(), mode="r") as h5f:
File "/scisoft/tomotools/x86_64/cuda11/bm18_2022d/lib/python3.8/site-packages/tomoscan/io.py", line 80, in __init__
super().__init__(filename, mode=mode, swmr=swmr, **kwargs)
File "/scisoft/tomotools/x86_64/cuda11/bm18_2022d/lib/python3.8/site-packages/h5py/_hl/files.py", line 533, in __init__
fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
File "/scisoft/tomotools/x86_64/cuda11/bm18_2022d/lib/python3.8/site-packages/h5py/_hl/files.py", line 226, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 106, in h5py.h5f.open
FileNotFoundError: [Errno 2] Unable to open file (unable to open file: name = 'HA-1100_27.73um_sheep-head_ethanol_W__0021_0001/HA-1100_27.73um_sheep-head_ethanol_W__0021_0001.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)