Closed
Description
While this is a corner case, nibabel should properly load .nii.
instead of raising an exception.
>>> import nibabel
>>> nibabel.load('.nii')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/nibabel/loadsave.py", line 49, in load
filename)
nibabel.filebasedimages.ImageFileError: Cannot work out file type of ".nii"
Metadata
Metadata
Assignees
Labels
No labels