diff --git a/fsl/data/image.py b/fsl/data/image.py index 6d16e0336ceed5574d9be5437466c776f443fccf..f5cdce5c61ef8c44ec1eb071906ecf17455cf168 100644 --- a/fsl/data/image.py +++ b/fsl/data/image.py @@ -482,7 +482,7 @@ class Nifti(notifier.Notifier): if self.isNeurological(): x = (shape[0] - 1) * pixdim[0] flip = transform.scaleOffsetXform([-1, 1, 1], [x, 0, 0]) - voxToPixdimMat = transform.concat(voxToPixdimMat, flip) + voxToPixdimMat = transform.concat(flip, voxToPixdimMat) return voxToPixdimMat