Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
constantinpape committed Dec 5, 2024
1 parent 9b3e7b5 commit 333b24a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_distance_measurement.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@


class TestDistanceMeasurement(unittest.TestCase):
def test_compute_boundary_distances(self):
from synaptic_reconstruction.distance_measurements import compute_boundary_distances
def test_measure_pairwise_object_distances(self):
from synaptic_reconstruction.distance_measurements import measure_pairwise_object_distances

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

for resolution in (None, 2.3, 4.4):
distances, _, _, seg_ids = compute_boundary_distances(seg, resolution, n_threads=1)
distances, _, _, seg_ids = measure_pairwise_object_distances(seg, resolution=resolution, n_threads=1)

factor = 1 if resolution is None else resolution

Expand Down

0 comments on commit 333b24a

Please sign in to comment.