Skip to content

Commit fa7ef71

Browse files
author
bpinsard
committed
fix in NewSegment warp field output options
1 parent b36cc9c commit fa7ef71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/spm/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ def _format_arg(self, opt, spec, val):
684684
new_tissues.append(new_tissue)
685685
return new_tissues
686686
elif opt == 'write_deformation_fields':
687-
return super(NewSegment, self)._format_arg(opt, spec, [int(val[0]), int(val[0])])
687+
return super(NewSegment, self)._format_arg(opt, spec, [int(val[0]), int(val[1])])
688688
else:
689689
return super(NewSegment, self)._format_arg(opt, spec, val)
690690

0 commit comments

Comments
 (0)