From b72c7ab8a1472e6218c9762d669b39d58a3fb9dc Mon Sep 17 00:00:00 2001 From: Maximilian Zenk Date: Fri, 31 May 2024 11:59:08 +0200 Subject: [PATCH] Fix documentation of nibabelIO's supported file types --- nnunetv2/imageio/nibabel_reader_writer.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nnunetv2/imageio/nibabel_reader_writer.py b/nnunetv2/imageio/nibabel_reader_writer.py index 78fb17ac1..2854da4b5 100644 --- a/nnunetv2/imageio/nibabel_reader_writer.py +++ b/nnunetv2/imageio/nibabel_reader_writer.py @@ -31,8 +31,6 @@ class NibabelIO(BaseReaderWriter): supported_file_endings = [ '.nii', '.nii.gz', - '.nrrd', - '.mha' ] def read_images(self, image_fnames: Union[List[str], Tuple[str, ...]]) -> Tuple[np.ndarray, dict]: @@ -110,8 +108,6 @@ class NibabelIOWithReorient(BaseReaderWriter): supported_file_endings = [ '.nii', '.nii.gz', - '.nrrd', - '.mha' ] def read_images(self, image_fnames: Union[List[str], Tuple[str, ...]]) -> Tuple[np.ndarray, dict]: