MetricComputationError

exception lsst.verify.tasks.MetricComputationError

Bases: RuntimeError

This class represents unresolvable errors in computing a metric.

lsst.verify.tasks.MetricTask raises MetricComputationError instead of other data- or processing-related exceptions to let code that calls a mix of data processing and metric tasks distinguish between the two. Therefore, most MetricComputationError instances should be chained to another exception representing the underlying problem.