Skip to content

Commit

Permalink
change the dupe list in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HaleySchuhl committed Aug 19, 2024
1 parent 95d6c95 commit cd63506
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_annotate_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,11 @@ def test_plantcv_annotate_points_correct_mask(test_data):
(242, 340),
(247, 281),
(279, 337)]
dupe_pt = [(116, 47)]
counter = Points(np.copy(allmask), figsize=(8, 6))
counter.import_list(totalpoints1, label="total")
counter.import_list(totalpoints1[0], label="dupe")
#counter.import_list(totalpoints1[0], label="dupe")
counter.import_list(dupe_pt, label="dupe")

corrected_mask, _, _ = counter.correct_mask(bin_img=allmask)
assert np.count_nonzero(corrected_mask) < np.count_nonzero(discs)
Expand Down

0 comments on commit cd63506

Please sign in to comment.