Skip to content

Commit 9169203

Browse files
committed
⏪ Revert f2da817
1 parent 6eef5af commit 9169203

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

CPAC/registration/registration.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3530,11 +3530,8 @@ def apply_blip_to_timeseries_separately(wf, cfg, strat_pool, pipe_num,
35303530
def warp_wholeheadT1_to_template(wf, cfg, strat_pool, pipe_num, opt=None):
35313531
xfm: list[str] = ["from-T1w_to-template_mode-image_xfm",
35323532
"from-longitudinal_to-template_mode-image_xfm"]
3533-
try:
3534-
xfm_prov = strat_pool.get_cpac_provenance(xfm)
3535-
reg_tool = check_prov_for_regtool(xfm_prov)
3536-
except KeyError:
3537-
reg_tool = cfg["registration_workflows", "anatomical_registration", "registration", "using"]
3533+
xfm_prov = strat_pool.get_cpac_provenance(xfm)
3534+
reg_tool = check_prov_for_regtool(xfm_prov)
35383535

35393536
num_cpus = cfg.pipeline_setup['system_config'][
35403537
'max_cores_per_participant']

0 commit comments

Comments
 (0)