MetricComputationError

exception lsst.verify.MetricComputationError

Bases: RuntimeError

This class represents unresolvable errors in computing a metric.

compatibility.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.