diff --git a/nipype/algorithms/modelgen.py b/nipype/algorithms/modelgen.py index 2f964c103c..d6af1c0f17 100644 --- a/nipype/algorithms/modelgen.py +++ b/nipype/algorithms/modelgen.py @@ -562,6 +562,7 @@ def _concatenate_info(self, infolist): # insert session regressors if not hasattr(infoout, 'regressors') or not infoout.regressors: infoout.regressors = [] + infoout.regressor_names = [] onelist = np.zeros((1, sum(nscans))) onelist[0, sum(nscans[0:i]):sum(nscans[0:(i + 1)])] = 1 infoout.regressors.insert(