From 56e68be290697afd3d983debc8736a3e6549ea2c Mon Sep 17 00:00:00 2001 From: Ariel Rokem Date: Thu, 12 Jan 2023 12:45:00 -0800 Subject: [PATCH] Another adaptation to new test usage. --- AFQ/tests/test_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AFQ/tests/test_api.py b/AFQ/tests/test_api.py index 6f9108d69..59c079c49 100644 --- a/AFQ/tests/test_api.py +++ b/AFQ/tests/test_api.py @@ -718,8 +718,8 @@ def test_AFQ_data_waypoint(): Test with some actual data again, this time for track segmentation """ tmpdir, bids_path, _ = get_temp_hardi() - t1_path = op.join(tmpdir.name, "T1.nii.gz") - t1_path_other = op.join(tmpdir.name, "T1-untransformed.nii.gz") + t1_path = op.join(tmpdir, "T1.nii.gz") + t1_path_other = op.join(tmpdir, "T1-untransformed.nii.gz") nib.save( afd.read_mni_template(mask=True, weight="T1w"), t1_path)