Skip to content

Commit 5afaae2

Browse files
committed
FIX: Use valid GIFTI dtype
1 parent 1ecce6e commit 5afaae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

niworkflows/interfaces/tests/test_cifti.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def cifti_data():
1717
volume_file = str(out / "volume.nii.gz")
1818
left_gii = str(out / "left.gii")
1919
right_gii = str(out / "right.gii")
20-
surface_data = [nb.gifti.GiftiDataArray(np.ones(32492)) for _ in range(4)]
20+
surface_data = [nb.gifti.GiftiDataArray(np.ones(32492, dtype='i4')) for _ in range(4)]
2121
vol = nb.Nifti1Image(np.ones((91, 109, 91, 4)), np.eye(4))
2222
gii = nb.GiftiImage(darrays=surface_data)
2323

0 commit comments

Comments
 (0)