From df93d372c6ede85aa64514b9001da8701bd86acf Mon Sep 17 00:00:00 2001 From: ncullen93 Date: Wed, 13 Mar 2024 13:25:22 +0100 Subject: [PATCH] add test --- tests/test_utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_utils.py b/tests/test_utils.py index 8a4a350b..bb1df15d 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -230,6 +230,9 @@ def test_decrop_image_example(self): cropped = ants.crop_image(fi, mask, 1) cropped = ants.smooth_image(cropped, 1) decropped = ants.decrop_image(cropped, fi) + + # test chaining + decropped = cropped.decrop_image(fi) # image not float cropped = ants.crop_image(fi.clone("unsigned int"), mask, 1)