Skip to main content

exceptions

Exceptions for data sources.

Classes​

NoPixelDataError​

class NoPixelDataError(*args, **kwargs):

A file has no Pixel Data element, so nothing decoded from it can be read.

Raised where a header read has already established this, in place of a decode that would have to transfer the whole file to reach the same answer.

ZeissModalityError​

class ZeissModalityError(*args, **kwargs):

Errors related to unsupported Zeiss modality types.