diff --git a/ants/segmentation/joint_label_fusion.py b/ants/segmentation/joint_label_fusion.py index 1c50e943..1fd11158 100644 --- a/ants/segmentation/joint_label_fusion.py +++ b/ants/segmentation/joint_label_fusion.py @@ -132,7 +132,7 @@ def joint_label_fusion( >>> for i in range(len(ilist)): >>> ilist[i] = ants.iMath(ilist[i],'Normalize') >>> mytx = ants.registration(fixed=ref , moving=ilist[i] , - >>> typeofTransform = ('Affine') ) + >>> type_of_transform = ('Affine') ) >>> mywarpedimage = ants.apply_transforms(fixed=ref,moving=ilist[i], >>> transformlist=mytx['fwdtransforms']) >>> ilist[i] = mywarpedimage diff --git a/tests/test_segmentation.py b/tests/test_segmentation.py index 710f1c05..cfc105a2 100644 --- a/tests/test_segmentation.py +++ b/tests/test_segmentation.py @@ -93,7 +93,7 @@ def test_example(self): for i in range(len(ilist)): ilist[i] = ants.iMath(ilist[i],'Normalize') mytx = ants.registration(fixed=ref , moving=ilist[i] , - typeofTransform = ('Affine') ) + type_of_transform = ('Affine') ) mywarpedimage = ants.apply_transforms(fixed=ref,moving=ilist[i], transformlist=mytx['fwdtransforms']) ilist[i] = mywarpedimage @@ -121,7 +121,7 @@ def test_max_lab_plus_one(self): for i in range(len(ilist)): ilist[i] = ants.iMath(ilist[i],'Normalize') mytx = ants.registration(fixed=ref , moving=ilist[i] , - typeofTransform = ('Affine') ) + type_of_transform = ('Affine') ) mywarpedimage = ants.apply_transforms(fixed=ref,moving=ilist[i], transformlist=mytx['fwdtransforms']) ilist[i] = mywarpedimage