Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ap_association, verify
-
Labels:
-
Story Points:1
-
Epic Link:
-
Sprint:AP F19-5 (October)
-
Team:Alert Production
Description
Currently, FractionUpdatedDiaObjectsMetricTask raises MetricComputationError if there are 0 pre-existing DIAObjects. However, this is normal in the context of verification, which always starts with an empty PPDB. Therefore, the behavior of this task when there are no DIAObjects to update should be changed to return None (i.e., the metric is not applicable) rather than raising an exception (i.e., the task's calculations failed).
Attachments
Issue Links
- relates to
-
DM-21937 Create new error-handling protocol for MetricTask
- Done
Hi Chris Morrison [X], can you review this 8-line change? Thanks!