Skip to content

Commit e175b6e

Browse files
committed
✏️ Correct method call name
Fixes #2245
1 parent aff2971 commit e175b6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CPAC/registration/registration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4143,7 +4143,7 @@ def warp_timeseries_to_T1template_dcan_nhp(wf, cfg, strat_pool, pipe_num, opt=No
41434143
},
41444144
)
41454145
def single_step_resample_timeseries_to_T1template(
4146-
wf, cfg, strat_pool, pipe_num, opt=None
4146+
wf, cfg, strat_pool: "ResourcePool", pipe_num, opt=None
41474147
):
41484148
"""Apply motion correction, coreg, anat-to-template transforms...
41494149
@@ -4241,7 +4241,7 @@ def single_step_resample_timeseries_to_T1template(
42414241
wf.connect(node, out, motionxfm2itk, "source_file")
42424242

42434243
node, out = strat_pool.get_data("coordinate-transformation")
4244-
motion_correct_tool = strat_pool.motion_correct_tool("coordinate-transformation")
4244+
motion_correct_tool = strat_pool.motion_tool("coordinate-transformation")
42454245
if motion_correct_tool == "mcflirt":
42464246
wf.connect(node, out, motionxfm2itk, "transform_file")
42474247
elif motion_correct_tool == "3dvolreg":

0 commit comments

Comments
 (0)