Skip to content

Commit 17f5906

Browse files
committed
fix: write_which defaults were not specified
1 parent 98c964a commit 17f5906

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/interfaces/spm/preprocess.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ 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(traits.Int, traits.Int, field='roptions.which',
133-
minlen=2, maxlen=2,
132+
write_which = traits.List([1, 1], traits.Int, traits.Int, field='roptions.which',
133+
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',
136136
desc='degree of b-spline used for interpolation')

0 commit comments

Comments
 (0)