From c57a239c8553ecdd800625269a67387058fad81e Mon Sep 17 00:00:00 2001 From: Sarah Steiger Date: Tue, 17 Oct 2023 16:24:56 -0400 Subject: [PATCH] hack fix for making sure array is c contiguous post-transformation --- catkit2/services/zwo_camera/zwo_camera.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catkit2/services/zwo_camera/zwo_camera.py b/catkit2/services/zwo_camera/zwo_camera.py index 5b4d7fd11..0899a72c2 100644 --- a/catkit2/services/zwo_camera/zwo_camera.py +++ b/catkit2/services/zwo_camera/zwo_camera.py @@ -348,7 +348,7 @@ def rot_flip_image(self, img): img = np.flipud(img) if self.flip_y: img = np.fliplr(img) - return img + return np.ascontiguousarray(img) if __name__ == '__main__':