Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-20902

FractionUpdatedDiaObjectsMetricTask should expect 0 DIAObjects

    XMLWordPrintable

    Details

    • Story Points:
      1
    • 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

            Activity

            Hide
            krzys Krzysztof Findeisen added a comment -

            Hi Chris Morrison, can you review this 8-line change? Thanks!

            Show
            krzys Krzysztof Findeisen added a comment - Hi Chris Morrison , can you review this 8-line change? Thanks!

              People

              Assignee:
              krzys Krzysztof Findeisen
              Reporter:
              krzys Krzysztof Findeisen
              Reviewers:
              Chris Morrison
              Watchers:
              John Parejko, Krzysztof Findeisen, Meredith Rawls
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: