Skip to content
2 changes: 2 additions & 0 deletions nipype/interfaces/spm/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,8 @@ def _format_arg(self, opt, spec, val):
"""
if opt in ['in_files']:
return np.array(val, dtype=object)
if opt in ['include_intercept']:
return int(val)
if opt in ['user_covariates']:
outlist = []
mapping = {'name':'cname','vector':'c',
Expand Down