Verify whether the specified file or files format is supported by WSI reader. The list of supported suffixes are read from `self.supported_suffixes`. Args: filename: filename or a list of filenames to read.
(self, filename: Sequence[PathLike] | PathLike)
| 497 | return is_within_tolerance, closest_level_is_bigger |
| 498 | |
| 499 | def verify_suffix(self, filename: Sequence[PathLike] | PathLike) -> bool: |
| 500 | """ |
| 501 | Verify whether the specified file or files format is supported by WSI reader. |
| 502 | |
| 503 | The list of supported suffixes are read from `self.supported_suffixes`. |
| 504 | |
| 505 | Args: |
| 506 | filename: filename or a list of filenames to read. |
| 507 | |
| 508 | """ |
| 509 | return is_supported_format(filename, self.supported_suffixes) |
| 510 | |
| 511 | |
| 512 | class WSIReader(BaseWSIReader): |
nothing calls this directly
no test coverage detected