diff --git a/fsl/transform/affine.py b/fsl/transform/affine.py index 0463acdd2dbed539f2a0517260b0121264c37bdc..fe8efd35e4faed848e1a9099d297db13166ce6d3 100644 --- a/fsl/transform/affine.py +++ b/fsl/transform/affine.py @@ -96,7 +96,7 @@ def flip(shape, xform, *axes): if any(a not in (0, 1, 2) for a in axes): raise ValueError(f'Invalid axis: {axes}') - los, his = axisBounds(shape, xform, axes) + los, his = axisBounds(shape, xform, axes, boundary=None) scales = [1, 1, 1] pre = [0, 0, 0] post = [0, 0, 0]