Skip to content

Commit

Permalink
DOC: Slightly improved documentation3.
Browse files Browse the repository at this point in the history
  • Loading branch information
ntustison committed Nov 23, 2024
1 parent 7ec4591 commit 1623ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ants/registration/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,7 @@ def label_image_registration(fixed_label_images,
if "[" in type_of_transform and "]" in type_of_transform:
subtype_of_transform = type_of_transform.split("[")[1].split("]")[0]
if not ('bo' in subtype_of_transform or 'so' in subtype_of_transform):
raise ValueError("See only 'so' or 'bo' transforms are available.")
raise ValueError("Only 'so' or 'bo' transforms are available.")
if "," in subtype_of_transform:
subtype_of_transform_args = subtype_of_transform.split(",")
subtype_of_transform = subtype_of_transform_args[0]
Expand Down

0 comments on commit 1623ebf

Please sign in to comment.