Skip to content

Commit 29d5e31

Browse files
committed
✏️ Correct method call name
Fixes #2245 [rebuild lite] [rebuild standard]
1 parent df16687 commit 29d5e31

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
@@ -4885,7 +4885,7 @@ def warp_timeseries_to_T1template_dcan_nhp(wf, cfg, strat_pool, pipe_num, opt=No
48854885
},
48864886
)
48874887
def single_step_resample_timeseries_to_T1template(
4888-
wf, cfg, strat_pool, pipe_num, opt=None
4888+
wf, cfg, strat_pool: ResourcePool, pipe_num, opt=None
48894889
):
48904890
"""Apply motion correction, coreg, anat-to-template transforms...
48914891
@@ -4983,7 +4983,7 @@ def single_step_resample_timeseries_to_T1template(
49834983
wf.connect(node, out, motionxfm2itk, "source_file")
49844984

49854985
node, out = strat_pool.get_data("coordinate-transformation")
4986-
motion_correct_tool = strat_pool.motion_correct_tool("coordinate-transformation")
4986+
motion_correct_tool = strat_pool.motion_tool("coordinate-transformation")
49874987
if motion_correct_tool == "mcflirt":
49884988
wf.connect(node, out, motionxfm2itk, "transform_file")
49894989
elif motion_correct_tool == "3dvolreg":

0 commit comments

Comments
 (0)