wsinfer.errors#
Exceptions used in WSInfer.
Module Contents#
- exception wsinfer.errors.WsinferException[source]#
Bases:
ExceptionBase class for wsinfer exceptions.
- exception wsinfer.errors.UnknownArchitectureError[source]#
Bases:
WsinferExceptionArchitecture is unknown and cannot be found.
- exception wsinfer.errors.WholeSlideImageDirectoryNotFound[source]#
Bases:
WsinferException,FileNotFoundErrorBase class for wsinfer exceptions.
- exception wsinfer.errors.DuplicateFilePrefixesFound[source]#
Bases:
WsinferExceptionA duplicate file prefix has been found.
An example of duplicate file prefixes is files a.svs and a.tif. WSInfer relies on the stems as a unique ID, so we cannot allow duplicate stems.
- exception wsinfer.errors.WholeSlideImagesNotFound[source]#
Bases:
WsinferException,FileNotFoundErrorBase class for wsinfer exceptions.
- exception wsinfer.errors.ResultsDirectoryNotFound[source]#
Bases:
WsinferException,FileNotFoundErrorBase class for wsinfer exceptions.
- exception wsinfer.errors.PatchDirectoryNotFound[source]#
Bases:
WsinferException,FileNotFoundErrorBase class for wsinfer exceptions.
- exception wsinfer.errors.CannotReadSpacing[source]#
Bases:
WsinferExceptionBase class for wsinfer exceptions.
- exception wsinfer.errors.NoBackendException[source]#
Bases:
WsinferExceptionBase class for wsinfer exceptions.
- exception wsinfer.errors.BackendNotAvailable[source]#
Bases:
WsinferExceptionThe requested backend is not available.