wsinfer.errors#
Exceptions used in WSInfer.
Exceptions#
Base class for wsinfer exceptions. |
|
Architecture is unknown and cannot be found. |
|
Base class for wsinfer exceptions. |
|
A duplicate file prefix has been found. |
|
Base class for wsinfer exceptions. |
|
Base class for wsinfer exceptions. |
|
Base class for wsinfer exceptions. |
|
Base class for wsinfer exceptions. |
|
Base class for wsinfer exceptions. |
|
The requested backend is not available. |
Module Contents#
- exception wsinfer.errors.WsinferException[source]#
Bases:
Exception
Base class for wsinfer exceptions.
- exception wsinfer.errors.UnknownArchitectureError[source]#
Bases:
WsinferException
Architecture is unknown and cannot be found.
- exception wsinfer.errors.WholeSlideImageDirectoryNotFound[source]#
Bases:
WsinferException
,FileNotFoundError
Base class for wsinfer exceptions.
- exception wsinfer.errors.DuplicateFilePrefixesFound[source]#
Bases:
WsinferException
A 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
,FileNotFoundError
Base class for wsinfer exceptions.
- exception wsinfer.errors.ResultsDirectoryNotFound[source]#
Bases:
WsinferException
,FileNotFoundError
Base class for wsinfer exceptions.
- exception wsinfer.errors.PatchDirectoryNotFound[source]#
Bases:
WsinferException
,FileNotFoundError
Base class for wsinfer exceptions.
- exception wsinfer.errors.CannotReadSpacing[source]#
Bases:
WsinferException
Base class for wsinfer exceptions.
- exception wsinfer.errors.NoBackendException[source]#
Bases:
WsinferException
Base class for wsinfer exceptions.
- exception wsinfer.errors.BackendNotAvailable[source]#
Bases:
WsinferException
The requested backend is not available.