File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -466,8 +466,7 @@ def _handle_special_cases(
466466 post_proc : str | callable | None = "auto" ,
467467 ** kwargs : dict ,
468468 ) -> WSIReader | None :
469- """Handle special cases for selecting the appropriate WSIReader based on file
470- type and metadata.
469+ """Handle special cases for selecting the appropriate WSIReader.
471470
472471 Args:
473472 input_path (Path): Path to the input image file.
@@ -477,7 +476,7 @@ def _handle_special_cases(
477476 post_proc (str | callable | None, optional): Post-processing method
478477 or identifier.
479478 **kwargs (dict): Additional keyword arguments for specific reader types.
480-
479+
481480 Returns:
482481 WSIReader | None: An appropriate WSIReader instance if a match is found,
483482 otherwise None.
@@ -486,7 +485,6 @@ def _handle_special_cases(
486485 FileNotSupportedError: If the file format is not supported for NGFF Zarr.
487486
488487 """
489-
490488 reader = None
491489 if is_dicom (input_path ):
492490 reader = DICOMWSIReader (
You can’t perform that action at this time.
0 commit comments