Skip to content

Commit 97cb618

Browse files
authored
[Validate/bugfix v0.14.4] Fix filtering in Validate metrics (#325)
1 parent 4d95cd5 commit 97cb618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nucleus/metrics/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def __call__(
145145
self._raise_if_everything_filtered(
146146
annotations, filtered_anns, predictions, filtered_preds
147147
)
148-
return self.call_metric(annotations, predictions)
148+
return self.call_metric(filtered_anns, filtered_preds)
149149

150150
@abstractmethod
151151
def aggregate_score(self, results: List[MetricResult]) -> ScalarResult:

0 commit comments

Comments
 (0)