diff --git a/Smartscope/lib/image/target.py b/Smartscope/lib/image/target.py index 6cf4db7f..ed877162 100644 --- a/Smartscope/lib/image/target.py +++ b/Smartscope/lib/image/target.py @@ -89,7 +89,9 @@ def set_area_radius(self, shape_type): # self.area = np.pi * (self.radius ** 2) def flip_y(self, coords, shape_y): - return np.array([coords[0],shape_y - coords[1]]) + coords= np.array([coords[0],shape_y - coords[1]]) + logger.debug(f'Flipping y coords: {coords}') + return coords def convert_image_coords_to_stage(self, montage): tile, dist = ProcessImage.closest_node(