Skip to content

Commit

Permalink
FIX: Use valid GIFTI dtype
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Apr 11, 2023
1 parent 1ecce6e commit 5afaae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion niworkflows/interfaces/tests/test_cifti.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def cifti_data():
volume_file = str(out / "volume.nii.gz")
left_gii = str(out / "left.gii")
right_gii = str(out / "right.gii")
surface_data = [nb.gifti.GiftiDataArray(np.ones(32492)) for _ in range(4)]
surface_data = [nb.gifti.GiftiDataArray(np.ones(32492, dtype='i4')) for _ in range(4)]
vol = nb.Nifti1Image(np.ones((91, 109, 91, 4)), np.eye(4))
gii = nb.GiftiImage(darrays=surface_data)

Expand Down

0 comments on commit 5afaae2

Please sign in to comment.