Skip to content

Commit

Permalink
Group analysis workflow bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bclenet committed Oct 17, 2023
1 parent 8fd2195 commit 9a63118
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions narps_open/pipelines/team_08MQ.py
Original file line number Diff line number Diff line change
Expand Up @@ -734,15 +734,15 @@ 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, [
('cope', 'copes'),
('varcope', 'varcopes'),
('participants', 'participants_file'),
])
])
])"""

# [INFO] Here we define the contrasts used for the group level analysis, depending on the
# method used.
Expand All @@ -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 """
Expand Down

0 comments on commit 9a63118

Please sign in to comment.