From 9f16c3e97b5033fb3236beac6295d18842586701 Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Thu, 28 Mar 2024 16:02:33 -0400 Subject: [PATCH] Try fixing remaining problems. --- fmriprep/cli/workflow.py | 2 +- fmriprep/workflows/base.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fmriprep/cli/workflow.py b/fmriprep/cli/workflow.py index 89310590b..5d62545e6 100644 --- a/fmriprep/cli/workflow.py +++ b/fmriprep/cli/workflow.py @@ -116,7 +116,7 @@ def build_workflow(config_file, retval): ] if config.execution.derivatives: - init_msg += [f'Searching for derivatives: {config.execution.derivatives}.'] + init_msg += [f'Searching for derivatives: {list(config.execution.derivatives.values())}.'] if config.execution.fs_subjects_dir: init_msg += [f"Pre-run FreeSurfer's SUBJECTS_DIR: {config.execution.fs_subjects_dir}."] diff --git a/fmriprep/workflows/base.py b/fmriprep/workflows/base.py index df3268a5d..d7387b5ee 100644 --- a/fmriprep/workflows/base.py +++ b/fmriprep/workflows/base.py @@ -249,7 +249,7 @@ def init_single_subject_wf(subject_id: str): std_spaces = spaces.get_spaces(nonstandard=False, dim=(3,)) std_spaces.append('fsnative') - for deriv_dir in config.execution.derivatives: + for deriv_dir in config.execution.derivatives.values(): anatomical_cache.update( collect_anat_derivatives( derivatives_dir=deriv_dir, @@ -653,7 +653,7 @@ def init_single_subject_wf(subject_id: str): entities = extract_entities(bold_series) - for deriv_dir in config.execution.derivatives: + for deriv_dir in config.execution.derivatives.values(): functional_cache.update( collect_derivatives( derivatives_dir=deriv_dir,