Skip to content

Commit

Permalink
Fix bug in calculation of fraction missed divisions
Browse files Browse the repository at this point in the history
  • Loading branch information
msschwartz21 committed Sep 2, 2022
1 parent ea01e75 commit f4ac99a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepcell_tracking/metrics.py
Expand Up @@ -318,7 +318,7 @@ def calculate_summary_stats(correct_division,
mbc = 0

try:
fraction_miss = (false_negative_division + false_positive_division) / total_divisions
fraction_miss = false_negative_division / total_divisions
except ZeroDivisionError:
fraction_miss = 0

Expand Down

0 comments on commit f4ac99a

Please sign in to comment.