Skip to content

Commit b988bcc

Browse files
author
Clark
committed
fixed error in traits.Either
1 parent d9e2e98 commit b988bcc

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
@@ -843,7 +843,7 @@ class NewSegmentInputSpec(SPMCommandInputSpec):
843843
field='tissue')
844844
affine_regularization = traits.Enum('mni', 'eastern', 'subj', 'none', field='warp.affreg',
845845
desc='mni, eastern, subj, none ')
846-
warping_regularization = traits.Either(traits.Float,
846+
warping_regularization = traits.Either(traits.Float(),
847847
traits.List(traits.Float(),
848848
minlen=5, maxlen=5),
849849
field='warp.reg'

0 commit comments

Comments
 (0)