Skip to content

Commit

Permalink
allow decrop_image to be chained
Browse files Browse the repository at this point in the history
  • Loading branch information
ncullen93 committed Mar 13, 2024
1 parent ff7413a commit 2a1b3f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ants/core/ants_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ def __repr__(self):
for k, v in utils.__dict__.items():
if callable(v):
args = inspect.getfullargspec(getattr(utils,k)).args
if (len(args) > 0) and (args[0] in {'img','image'}):
if (len(args) > 0) and (args[0] in {'img','image','cropped_image'}):
setattr(ANTsImage, k, partialmethod(v))

for k, v in registration.__dict__.items():
Expand Down

0 comments on commit 2a1b3f5

Please sign in to comment.