Skip to content

Commit

Permalink
print actual type of transform if not found
Browse files Browse the repository at this point in the history
  • Loading branch information
ncullen93 committed Feb 22, 2024
1 parent 2870928 commit 72254ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ants/registration/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def registration(

# Perform checking of antsRegistrationSyN transforms later
if not "antsRegistrationSyN" in type_of_transform and not ttexists:
raise ValueError("`type_of_transform` does not exist")
raise ValueError(f'{type_of_transform} does not exist')

initx = initial_transform
if isinstance(initx, str):
Expand Down

0 comments on commit 72254ca

Please sign in to comment.