Skip to content

Commit 7362004

Browse files
oestebaneffigies
authored andcommitted
fix: antsRegistration allows the restrict_deformation to be float
1 parent 4e10801 commit 7362004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/ants/registration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ class RegistrationInputSpec(ANTSCommandInputSpec):
526526
)
527527
)
528528
restrict_deformation = traits.List(
529-
traits.List(traits.Enum(0, 1)),
529+
traits.List(traits.Range(low=0.0, high=1.0)),
530530
desc=(
531531
"This option allows the user to restrict the optimization of "
532532
"the displacement field, translation, rigid or affine transform "

0 commit comments

Comments
 (0)