From 5ffd5d9083f1702e71b915f3b291395f6af3e382 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boris=20Cl=C3=A9net?= Date: Mon, 26 Feb 2024 15:39:43 +0100 Subject: [PATCH] [BUG] smoothing outputs --- narps_open/pipelines/__init__.py | 2 +- narps_open/pipelines/team_R9K3.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/narps_open/pipelines/__init__.py b/narps_open/pipelines/__init__.py index 66cab6f5..d93845c3 100644 --- a/narps_open/pipelines/__init__.py +++ b/narps_open/pipelines/__init__.py @@ -66,7 +66,7 @@ 'R42Q': None, 'R5K7': None, 'R7D1': None, - 'R9K3': 'PipelineTeam08MQ', + 'R9K3': 'PipelineTeamR9K3', 'SM54': None, 'T54A': 'PipelineTeamT54A', 'U26C': 'PipelineTeamU26C', diff --git a/narps_open/pipelines/team_R9K3.py b/narps_open/pipelines/team_R9K3.py index 3aba32b7..3de87d8d 100644 --- a/narps_open/pipelines/team_R9K3.py +++ b/narps_open/pipelines/team_R9K3.py @@ -105,9 +105,9 @@ def get_preprocessing_outputs(self): output_dir = join(self.directories.output_dir, 'preprocessing', '_subject_id_{subject_id}') - # Smoothing outputs # TODO + # Smoothing outputs templates = [join(output_dir, f'_smoothing{index}', - 'srsub-{subject_id}'+f'_task-MGT_run-{run_id}_bold.nii')\ + 'ssub-{subject_id}'+f'_task-MGT_run-{run_id}_bold.nii')\ for index, run_id in zip(range(len(self.run_list)), self.run_list)] # Format with subject_ids @@ -229,7 +229,7 @@ def get_subject_level_analysis(self): 'confounds' : join('derivatives', 'fmriprep', 'sub-{subject_id}', 'func', 'sub-{subject_id}_task-MGT_run-*_bold_confounds.tsv'), 'func' : join(self.directories.output_dir, 'preprocessing', '_subject_id_{subject_id}', - '_smoothing*', 'srsub-{subject_id}_task-MGT_run-*_bold.nii'), # TODO + '_smoothing*', 'ssub-{subject_id}_task-MGT_run-*_bold.nii'), 'event' : join('sub-{subject_id}', 'func', 'sub-{subject_id}_task-MGT_run-*_events.tsv'), }