Skip to content

Commit

Permalink
🔀 Merge branch 'enh/import_config' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
shnizzedy committed Jan 28, 2021
2 parents 4b7781b + 87b5ba3 commit be468db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CPAC/pipeline/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1316,9 +1316,11 @@ def initiate_rpool(wf, cfg, data_paths):
if '${resolution_for_anat}' in val:
val = val.replace('${resolution_for_anat}', cfg.registration_workflows['anatomical_registration']['resolution_for_anat'])
if '${func_resolution}' in val:
# functional registration
if 'funcreg' in key:
out_res = 'func_preproc_outputs'
elif 'deriv' in key:
# functional derivatives
else:
out_res = 'func_derivative_outputs'
val = val.replace('${func_resolution}', cfg.registration_workflows['functional_registration']['func_registration_to_template']['output_resolution'][out_res])

Expand Down

0 comments on commit be468db

Please sign in to comment.