Commit 37c0ec92 authored by Andrew Quinn's avatar Andrew Quinn
Browse files

Add glm covariate logging statements

parent e99290ed
Loading
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1876,12 +1876,13 @@ def _glm_fit_glmtools(pxx, covariates, confounds, config, fit_constant=True):

    DC = glm.design.DesignConfig()
    if fit_constant:
        logging.debug('Adding Constant Regressor')
        DC.add_regressor(name='Mean', rtype='Constant')
    for key in covariates.keys():
        logging.debug('Convariate {0}'.format(key))
        logging.debug('Adding Covariate : {0}'.format(key))
        DC.add_regressor(name=key, rtype='Parametric', datainfo=key, preproc='z')
    for key in confounds.keys():
        logging.debug('Confound {0}'.format(key))
        logging.debug('Adding Confound : {0}'.format(key))
        DC.add_regressor(name=key, rtype='Parametric', datainfo=key, preproc='unitmax')
    DC.add_simple_contrasts()