Skip to content

Commit f36d524

Browse files
author
Bertrand THIRION
committed
some fixs in contrasts sepcification
1 parent f175c12 commit f36d524

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

ibc_public/utils_contrasts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ def make_contrasts(paradigm_id, design_matrix_columns=None):
3232
return hcp_social(design_matrix_columns)
3333
elif paradigm_id == 'RSVPLanguage':
3434
return rsvp_language(design_matrix_columns)
35-
elif paradigm_id in ['ContRing', 'ExpRing', 'WedgeClock', ###
36-
'WedgeAnti', 'Wedge', 'Ring']:###
35+
#elif paradigm_id in ['ContRing', 'ExpRing', 'WedgeClock', ###
36+
# 'WedgeAnti', 'Wedge', 'Ring']:###
3737
return retino(design_matrix_columns)###
3838
elif paradigm_id in ['Wedge', 'WedgeAnti', 'WedgeClock']:
3939
return wedge(design_matrix_columns)

scripts/glm_only.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def run_subject_glm(jobfile, protocol, subject, session=None, smooth=None,
129129
subject['onset'] = [onset for onset in subject['onset']]
130130
clean_subject(subject)
131131
if len(subject['session_id']) > 0:
132-
if protocol == 'clips4':
132+
if protocol == 'clips4_':
133133
first_level(subject, compcorr=compcorr,
134134
additional_regressors=RETINO_REG,
135135
smooth=smooth, mask_img=mask_img)
@@ -148,8 +148,8 @@ def run_subject_glm(jobfile, protocol, subject, session=None, smooth=None,
148148
# protocols = ['self', 'search', 'scene', 'tom', 'stanford1', 'stanford2', 'stanford3']
149149
# protocols = ['audio1', 'audio2', clips4]
150150
# protocols = ['optimism']
151-
# protocols = ['mdtb', 'mario1', 'mario2', 'leuven', 'abstraction', 'aomic']
152-
protocols = ['scene']
151+
# protocols = ['mdtb', 'mario1', 'mario2', 'leuven', 'abstraction', 'aomic', 'scene']
152+
protocols = ['clips4']
153153

154154
for protocol in protocols:
155155
jobfile = f'ini_files/IBC_preproc_{protocol}.ini'

scripts/surface_glm_only.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def run_subject_surface_glm(jobfile, subject, session, protocol, mesh=None, comp
8484
if len(subject['session_id']) > 0:
8585
print(len(subject['session_id']))
8686
if len(subject['session_id']) > 0:
87-
if protocol == 'retino':
87+
if protocol == 'retino_':
8888
subject['onset'] = [''] * len(subject['onset'])
8989
first_level(subject, compcorr=compcorr,
9090
additional_regressors=RETINO_REG,
@@ -107,7 +107,7 @@ def run_subject_surface_glm(jobfile, subject, session, protocol, mesh=None, comp
107107
'navigation', 'search']
108108
protocols = ['color', 'aomic'] 'abstraction' 'lyon1', 'aomic' 'optimism'
109109
"""
110-
protocols = ['scene'] # 'mario1', 'mdtb', 'color', 'mario2', 'leuven'
110+
protocols = ['retino'] # 'mario1', 'mdtb', 'color', 'mario2', 'leuven' 'scene'
111111
for protocol in protocols:
112112
jobfile = 'ini_files/IBC_preproc_%s.ini' % protocol
113113
acquisition = protocol

0 commit comments

Comments
 (0)