Skip to content

Commit 06f36b0

Browse files
committed
fix: better int syntax
1 parent 6b8bdb4 commit 06f36b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/algorithms/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1271,7 +1271,7 @@ def split_rois(in_file, mask=None, roishape=None):
12711271
np.savez(iname, (nzels[0][first:last],))
12721272

12731273
if fill > 0:
1274-
droi = np.vstack((droi, np.zeros(int(fill, nvols), dtype=np.float32)))
1274+
droi = np.vstack((droi, np.zeros((int(fill), int(nvols)), dtype=np.float32)))
12751275
partialmsk = np.ones((roisize,), dtype=np.uint8)
12761276
partialmsk[-fill:] = 0
12771277
partname = op.abspath('partialmask.nii.gz')

0 commit comments

Comments
 (0)