From cd63506c2fa6f32d31952f03e8b2600d77d5d8de Mon Sep 17 00:00:00 2001 From: HaleySchuhl Date: Mon, 19 Aug 2024 11:49:01 -0500 Subject: [PATCH] change the dupe list in tests --- tests/test_annotate_points.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_annotate_points.py b/tests/test_annotate_points.py index 7a408e2..0111977 100644 --- a/tests/test_annotate_points.py +++ b/tests/test_annotate_points.py @@ -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)