From 9a63118e1b04641d1ce97ad09fe05548b15cbfcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boris=20Cl=C3=A9net?= Date: Tue, 17 Oct 2023 10:55:08 +0200 Subject: [PATCH] Group analysis workflow bug --- narps_open/pipelines/team_08MQ.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/narps_open/pipelines/team_08MQ.py b/narps_open/pipelines/team_08MQ.py index bbe8a5b1..1ba66c62 100644 --- a/narps_open/pipelines/team_08MQ.py +++ b/narps_open/pipelines/team_08MQ.py @@ -734,7 +734,7 @@ def get_group_level_analysis_sub_workflow(self, method): base_dir = self.directories.working_dir, name = f'group_level_analysis_{method}_nsub_{nb_subjects}' ) - group_level_analysis.connect([ + """group_level_analysis.connect([ (info_source, select_files, [('contrast_id', 'contrast_id')]), (info_source, subgroups_contrasts, [('subject_list', 'subject_ids')]), (select_files, subgroups_contrasts, [ @@ -742,7 +742,7 @@ def get_group_level_analysis_sub_workflow(self, method): ('varcope', 'varcopes'), ('participants', 'participants_file'), ]) - ]) + ])""" # [INFO] Here we define the contrasts used for the group level analysis, depending on the # method used. @@ -755,8 +755,7 @@ def get_group_level_analysis_sub_workflow(self, method): ] # [INFO] Here we simply return the created workflow - # return group_level_analysis - return None + return group_level_analysis def get_group_level_outputs(self): """ Return a list of the files generated by the group level analysis """