Skip to content

Commit e3478ca

Browse files
committed
fix compatibility with py3
1 parent d6b0845 commit e3478ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/fsl/epi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ def _parse_inputs(self, skip=None):
378378
# If not defined, assume index are the first N entries in the
379379
# parameters file, for N input images.
380380
if not isdefined(self.inputs.in_index):
381-
self.inputs.in_index = range(1, len(self.inputs.in_files) + 1)
381+
self.inputs.in_index = list(range(1, len(self.inputs.in_files) + 1))
382382

383383
return super(ApplyTOPUP, self)._parse_inputs(skip=skip)
384384

0 commit comments

Comments
 (0)