Skip to content

Commit 6b3a451

Browse files
oestebaneffigies
andauthored
Update niworkflows/utils/tests/test_images.py
Co-Authored-By: Chris Markiewicz <[email protected]>
1 parent 3b893c6 commit 6b3a451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

niworkflows/utils/tests/test_images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,5 @@ def test_dseg_label(tmp_path):
8484
))
8585
nb.Nifti1Image(data, np.eye(4), None).to_filename(fname)
8686

87-
new_im = nb.load(dseg_label(fname, label=2))
87+
new_im = nb.load(dseg_label(fname, label=2, newpath=tmp_path))
8888
assert np.all((data == 2).astype('int16') == np.int16(new_im.dataobj))

0 commit comments

Comments
 (0)