Skip to content

Commit

Permalink
BUG: Slight change in logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
ntustison committed Nov 25, 2024
1 parent f5db913 commit 9f3bfa3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ants/registration/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1695,9 +1695,9 @@ def label_image_registration(fixed_label_images,
if not type_of_linear_transform in allowable_linear_transforms:
raise ValueError("Unrecognized linear transform.")

do_deformable = False
if type_of_transform is not None or len(type_of_transform) > 0:
do_deformable = True
do_deformable = True
if type_of_transform is None or len(type_of_transform) == 0:
do_deformable = False

common_label_ids = list()
total_number_of_labels = 0
Expand Down

0 comments on commit 9f3bfa3

Please sign in to comment.