Skip to content

Commit b72c7ab

Browse files
committed
Fix documentation of nibabelIO's supported file types
1 parent d12a0c1 commit b72c7ab

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

nnunetv2/imageio/nibabel_reader_writer.py

-4
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ class NibabelIO(BaseReaderWriter):
3131
supported_file_endings = [
3232
'.nii',
3333
'.nii.gz',
34-
'.nrrd',
35-
'.mha'
3634
]
3735

3836
def read_images(self, image_fnames: Union[List[str], Tuple[str, ...]]) -> Tuple[np.ndarray, dict]:
@@ -110,8 +108,6 @@ class NibabelIOWithReorient(BaseReaderWriter):
110108
supported_file_endings = [
111109
'.nii',
112110
'.nii.gz',
113-
'.nrrd',
114-
'.mha'
115111
]
116112

117113
def read_images(self, image_fnames: Union[List[str], Tuple[str, ...]]) -> Tuple[np.ndarray, dict]:

0 commit comments

Comments
 (0)