From 17df33c6f6c27c249fb25b5633a9405ecb1bf8b2 Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Fri, 2 Aug 2024 13:17:13 -0400 Subject: [PATCH] Update base.py --- src/fmripost_aroma/workflows/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fmripost_aroma/workflows/base.py b/src/fmripost_aroma/workflows/base.py index 3ccda45..331d1bb 100644 --- a/src/fmripost_aroma/workflows/base.py +++ b/src/fmripost_aroma/workflows/base.py @@ -31,6 +31,7 @@ import os import sys +from collections import defaultdict from copy import deepcopy import yaml @@ -303,7 +304,7 @@ def init_single_run_wf(bold_file): entities = extract_entities(bold_file) - functional_cache = {} + functional_cache = defaultdict(list, {}) if config.execution.derivatives: # Collect native-space derivatives and transforms for deriv_dir in config.execution.derivatives.values():