fsleyes_preset fails during opening preop mask file:
valosek@chatham:/md1/TL-PMP/TL-PMP-195/masks$ ff ../Results/Mprage.nii.gz Mask1S_RMES_man_Honza.nii.gz
Traceback (most recent call last):
File "/usr/local/lib/fsleyes_preset/fsleyes_preset.py", line 268, in <module>
main(sys.argv[1:])
File "/usr/local/lib/fsleyes_preset/fsleyes_preset.py", line 185, in main
if not get_image_type(os.path.abspath(arg)):
File "/usr/local/lib/fsleyes_preset/fsleyes_preset.py", line 146, in get_image_type
image = nib.load(fname_image)
File "/usr/local/lib/fsleyes_preset/venv/lib/python3.7/site-packages/nibabel/loadsave.py", line 55, in load
raise ImageFileError(f'Cannot work out file type of "{filename}"')
nibabel.filebasedimages.ImageFileError: Cannot work out file type of "/dc12/TL-PMP/TL-PMP-195/masks/Mask1S_RMES_man_Honza.nii.gz"
fsleyes_preset
fails during opening preop mask file: