From 96f1033b5aa567b39f5a338683ca82d69c73ebe0 Mon Sep 17 00:00:00 2001 From: Eric Condamine <37933899+servoz@users.noreply.github.com> Date: Fri, 15 May 2020 12:11:27 +0200 Subject: [PATCH] volterra_expansion_order documentation error For fMRI model specification, in SPM, matlabbatch{n}.spm.stats.fmri_spec.volt = 2 corresponds to 'Model Interactions' and matlabbatch{n}.spm.stats.fmri_spec.volt =1 corresponds to 'Do not model Interactions'. Currently, for the corresponding process in nipype, the Level1Design, we see volterra_expansion_order = traits.Enum(1, 2, field="volt", desc=("Model interactions - yes:1, no:2")). I guess the correct description should rather be volterra_expansion_order = traits.Enum(1, 2, field="volt", desc=("Model interactions - no:1, yes:2")) --- nipype/interfaces/spm/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nipype/interfaces/spm/model.py b/nipype/interfaces/spm/model.py index 2d09f23e90..de6dc15216 100644 --- a/nipype/interfaces/spm/model.py +++ b/nipype/interfaces/spm/model.py @@ -81,7 +81,7 @@ class Level1DesignInputSpec(SPMCommandInputSpec): mandatory=True, ) volterra_expansion_order = traits.Enum( - 1, 2, field="volt", desc=("Model interactions - yes:1, no:2") + 1, 2, field="volt", desc=("Model interactions - no:1, yes:2") ) global_intensity_normalization = traits.Enum( "none",