Skip to content

Commit eef3b9d

Browse files
committed
spm wants a two-item array here
1 parent 8b7a6d7 commit eef3b9d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nipype/interfaces/spm/preprocess.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,9 @@ class CoregisterInputSpec(SPMCommandInputSpec):
264264
'nmi' - Normalised Mutual Information,
265265
'ecc' - Entropy Correlation Coefficient,
266266
'ncc' - Normalised Cross Correlation""")
267-
fwhm = traits.Float(field='eoptions.fwhm',
268-
desc='gaussian smoothing kernel width (mm)')
267+
fwhm = traits.List(traits.Float(), minlen=2, maxlen=2,
268+
field='eoptions.fwhm',
269+
desc='gaussian smoothing kernel width (mm)')
269270
separation = traits.List(traits.Float(), field='eoptions.sep',
270271
desc='sampling separation in mm')
271272
tolerance = traits.List(traits.Float(), field='eoptions.tol',

0 commit comments

Comments
 (0)