Skip to content

Commit 7aa45b1

Browse files
author
Ben Cipollini
committed
xrange => range (doctest)
1 parent 7bb4129 commit 7aa45b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/algorithms/misc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,9 +1213,9 @@ class MergeROIs(BaseInterface):
12131213
12141214
>>> from nipype.algorithms import misc
12151215
>>> rois = misc.MergeROIs()
1216-
>>> rois.inputs.in_files = ['roi%02d.nii' % i for i in xrange(1, 6)]
1216+
>>> rois.inputs.in_files = ['roi%02d.nii' % i for i in range(1, 6)]
12171217
>>> rois.inputs.in_reference = 'mask.nii'
1218-
>>> rois.inputs.in_index = ['roi%02d_idx.npz' % i for i in xrange(1, 6)]
1218+
>>> rois.inputs.in_index = ['roi%02d_idx.npz' % i for i in range(1, 6)]
12191219
>>> rois.run() # doctest: +SKIP
12201220
12211221
"""

0 commit comments

Comments
 (0)