Skip to content

Commit

Permalink
FIX: test
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineTheb committed Nov 5, 2024
1 parent 840cece commit 544380e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def test_get_endpoints_density_map_five_points():
sft, reference, *_ = _setup_files()

endpoints_map = get_endpoints_density_map(
sft, point_to_select=5)
sft, point_to_select=5, to_millimeters=True)

in_result = os.path.join(SCILPY_HOME, 'tractograms',
'streamline_and_mask_operations',
Expand All @@ -111,6 +111,7 @@ def test_get_head_tail_density_maps():
'bundle_4_endpoints_1point.nii.gz')

result = nib.load(in_result).get_fdata()

assert np.allclose(head_map + tail_map, result)


Expand Down

0 comments on commit 544380e

Please sign in to comment.