예제 #1
0
def test_is_nifti_file(input: Tuple[str, bool]) -> None:
    file, expected = input
    assert is_nifti_file_path(file) == expected
    assert is_nifti_file_path(Path(file)) == expected
 def _is_nifti_dataset(self) -> bool:
     return is_nifti_file_path(self.file_extension)