Skip to content

Commit 184a8be

Browse files
committed
Update test_features.py
1 parent 2fd6f0e commit 184a8be

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

deeptrack/tests/test_features.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2449,10 +2449,11 @@ def calculate_min_distance(positions):
24492449
# print(f"Min distance after: {min_distance_after}, should be larger \
24502450
# than {2*radius + min_distance} with some tolerance")
24512451

2452-
# Assert that the non-overlapping case respects min_distance (with
2452+
# Assert that the non-overlapping case respects min_distance (with
24532453
# slight rounding tolerance)
2454-
self.assertLess(min_distance_before, 2*radius + min_distance)
2455-
self.assertGreaterEqual(min_distance_after,2*radius + min_distance - 2)
2454+
self.assertLess(min_distance_before, 2 * radius + min_distance)
2455+
self.assertGreaterEqual(min_distance_after,
2456+
2 * radius + min_distance - 2)
24562457

24572458

24582459
def test_Store(self):

0 commit comments

Comments
 (0)