Skip to content

Commit 965d73c

Browse files
authored
Use BIDS filter in file-wise queries (#111)
1 parent 8a4a2a6 commit 965d73c

File tree

1 file changed

+2
-1
lines changed
  • src/fmripost_aroma/workflows

1 file changed

+2
-1
lines changed

src/fmripost_aroma/workflows/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ def init_single_run_wf(bold_file):
302302
bold_metadata = config.execution.layout.get_metadata(bold_file)
303303
mem_gb = estimate_bold_mem_usage(bold_file)[1]
304304

305-
entities = extract_entities(bold_file)
305+
entities = config.execution.bids_filters or {}
306+
entities = {**entities, **extract_entities(bold_file)}
306307

307308
functional_cache = defaultdict(list, {})
308309
if config.execution.derivatives:

0 commit comments

Comments
 (0)