Skip to content

Commit

Permalink
Merge remote-tracking branch 'mzenk/fix_nibabelio_docs'
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianIsensee committed Jun 7, 2024
2 parents 4eb1f5d + b72c7ab commit 3b284d7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions nnunetv2/imageio/nibabel_reader_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down Expand Up @@ -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]:
Expand Down

0 comments on commit 3b284d7

Please sign in to comment.