Skip to content

Commit a0480ef

Browse files
committed
enh: use proper data dtype
1 parent 6e2ab5d commit a0480ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

niworkflows/utils/timeseries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def _nifti_timeseries(
7373
# Map segmentation
7474
if remap_rois or lut is not None:
7575
if lut is None:
76-
lut = np.zeros((256,), dtype="int")
76+
lut = np.zeros((256,), dtype="uint8")
7777
lut[100:201] = 1 # Ctx GM
7878
lut[30:99] = 2 # dGM
7979
lut[1:11] = 3 # WM+CSF

0 commit comments

Comments
 (0)