Skip to content

Commit 333b24a

Browse files
Fix CI
1 parent 9b3e7b5 commit 333b24a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_distance_measurement.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55

66
class TestDistanceMeasurement(unittest.TestCase):
7-
def test_compute_boundary_distances(self):
8-
from synaptic_reconstruction.distance_measurements import compute_boundary_distances
7+
def test_measure_pairwise_object_distances(self):
8+
from synaptic_reconstruction.distance_measurements import measure_pairwise_object_distances
99

1010
shape = (4, 64, 64)
1111
seg = np.zeros(shape, dtype="uint32")
@@ -17,7 +17,7 @@ def test_compute_boundary_distances(self):
1717
seg[1, 16, 63] = 5
1818

1919
for resolution in (None, 2.3, 4.4):
20-
distances, _, _, seg_ids = compute_boundary_distances(seg, resolution, n_threads=1)
20+
distances, _, _, seg_ids = measure_pairwise_object_distances(seg, resolution=resolution, n_threads=1)
2121

2222
factor = 1 if resolution is None else resolution
2323

0 commit comments

Comments
 (0)