Skip to content

Commit cbfd2cc

Browse files
committed
Small bugfix in the FSLXCommand _list_outputs function
1 parent 5e05ffe commit cbfd2cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/fsl/dti.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def _list_outputs(self):
222222
for k in multi_out:
223223
outputs[k] = []
224224

225-
for i in xrange(self.inputs.n_fibres + 1):
225+
for i in xrange(1, self.inputs.n_fibres + 1):
226226
outputs['fsamples'].append(self._gen_fname('f%dsamples' % i,
227227
cwd=out_dir))
228228
outputs['mean_fsamples'].append(self._gen_fname(('mean_f%d'

0 commit comments

Comments
 (0)