Skip to content

Commit d761ccf

Browse files
committed
fix: traits List with default for write_which
1 parent 7f408ca commit d761ccf

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
@@ -129,7 +129,7 @@ class RealignInputSpec(SPMCommandInputSpec):
129129
wrap = traits.List(traits.Int(), minlen=3, maxlen=3,
130130
field='eoptions.wrap',
131131
desc='Check if interpolation should wrap in [x,y,z]')
132-
write_which = traits.List([1, 1], traits.Int, traits.Int, field='roptions.which',
132+
write_which = traits.ListInt([1, 1], field='roptions.which',
133133
minlen=2, maxlen=2, usedefault=True,
134134
desc='determines which images to reslice')
135135
write_interp = traits.Range(low=0, high=7, field='roptions.interp',

0 commit comments

Comments
 (0)