Skip to content

Commit

Permalink
Issue with contrasts ids
Browse files Browse the repository at this point in the history
  • Loading branch information
bclenet committed Oct 6, 2023
1 parent 3353a6d commit 6eed291
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions narps_open/pipelines/team_T54A.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __init__(self):
super().__init__()
self.fwhm = 4.0
self.team_id = 'T54A'
self.contrast_list = ['01', '02']
self.contrast_list = ['1', '2']

def get_preprocessing(self):
""" No preprocessing has been done by team T54A """
Expand Down Expand Up @@ -326,9 +326,9 @@ def get_run_level_outputs(self):
parameters = {
'run_id' : self.run_list,
'subject_id' : self.subject_list,
'contrast_id' : self.contrast_list,
'file' : [
join('results', 'cope1.nii.gz'),
join('results', 'cope2.nii.gz'),
join('results', 'cope{contrast_id}.nii.gz'),
join('results', 'dof'),
join('results', 'logfile'),
join('results', 'pe10.nii.gz'),
Expand All @@ -351,12 +351,9 @@ def get_run_level_outputs(self):
join('results', 'res4d.nii.gz'),
join('results', 'sigmasquareds.nii.gz'),
join('results', 'threshac1.nii.gz'),
join('results', 'tstat1.nii.gz'),
join('results', 'tstat2.nii.gz'),
join('results', 'varcope1.nii.gz'),
join('results', 'varcope2.nii.gz'),
join('results', 'zstat1.nii.gz'),
join('results', 'zstat2.nii.gz'),
join('results', 'tstat{contrast_id}.nii.gz'),
join('results', 'varcope{contrast_id}.nii.gz'),
join('results', 'zstat{contrast_id}.nii.gz'),
'run0.mat',
'run0.png',
'sub-{subject_id}_task-MGT_run-{run_id}_bold_space-MNI152NLin2009cAsym_preproc_brain_mask.nii.gz'
Expand Down

0 comments on commit 6eed291

Please sign in to comment.