Skip to content

Commit 87b5ba3

Browse files
committed
🐛 Set funcreg as derivative for default
1 parent e4cf542 commit 87b5ba3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CPAC/pipeline/engine.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1316,9 +1316,11 @@ def initiate_rpool(wf, cfg, data_paths):
13161316
if '${resolution_for_anat}' in val:
13171317
val = val.replace('${resolution_for_anat}', cfg.registration_workflows['anatomical_registration']['resolution_for_anat'])
13181318
if '${func_resolution}' in val:
1319+
# functional registration
13191320
if 'funcreg' in key:
13201321
out_res = 'func_preproc_outputs'
1321-
elif 'deriv' in key:
1322+
# functional derivatives
1323+
else:
13221324
out_res = 'func_derivative_outputs'
13231325
val = val.replace('${func_resolution}', cfg.registration_workflows['functional_registration']['func_registration_to_template']['output_resolution'][out_res])
13241326

0 commit comments

Comments
 (0)