Skip to content

Commit

Permalink
[BUG] Cleaning connections
Browse files Browse the repository at this point in the history
  • Loading branch information
bclenet committed Aug 29, 2023
1 parent 6640ca3 commit 89a2d68
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions narps_open/pipelines/team_T54A.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def get_run_level_analysis(self):
# Node contrasts to get contrasts
contrasts = Node(Function(
function = self.get_contrasts,
input_names = ['subject_id'],
input_names = [],
output_names = ['contrasts']),
name = 'contrasts')

Expand Down Expand Up @@ -289,7 +289,6 @@ def get_run_level_analysis(self):
('run_id', 'run_id')]),
(selectfiles, subject_infos, [('event', 'event_file')]),
(selectfiles, parameters, [('param', 'filepath')]),
(infosource, contrasts, [('subject_id', 'subject_id')]),
(infosource, parameters, [
('subject_id', 'subject_id'),
('run_id', 'run_id')]),
Expand Down Expand Up @@ -592,11 +591,10 @@ def get_group_level_analysis_sub_workflow(self, method):

# Templates to select files node
templates = {
##### TODO not dataset here
'cope' : join(self.directories.output_dir,
'l2_analysis', '_contrast-{contrast_id}_subject_id_cope.nii.gz'),
##### TODO not dataset here
'varcope' : join(data_dir, 'NARPS-T54A', 'sub-*_contrast-{contrast_id}_varcope.nii.gz'),
'l2_analysis', '_contrast_id_{contrast_id}_subject_id_{subject_id}', 'cope1.nii.gz'),
'varcope' : join(self.directories.output_dir,
'l2_analysis', '_contrast_id_{contrast_id}_subject_id_{subject_id}', 'varcope1.nii.gz'),
'participants' : join(self.directories.dataset_dir, 'participants.tsv'),
##### TODO not dataset here
'mask' : join(data_dir, 'NARPS-T54A', 'hypo2_unthresh_Z.nii.gz')
Expand Down

0 comments on commit 89a2d68

Please sign in to comment.