Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
(#1283) Fix oav snapshot numpy type pollution
Browse files Browse the repository at this point in the history
  • Loading branch information
rtuck99 committed Apr 8, 2024
1 parent a004334 commit b5efe47
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ def _handle_oav_snapshot_triggered(self, doc):
steps_y=data["oav_snapshot_num_boxes_y"],
microns_per_pixel_x=self.params.hyperion_params.ispyb_params.microns_per_pixel_x,
microns_per_pixel_y=self.params.hyperion_params.ispyb_params.microns_per_pixel_y,
snapshot_offset_x_pixel=data["oav_snapshot_top_left_x"],
snapshot_offset_y_pixel=data["oav_snapshot_top_left_y"],
snapshot_offset_x_pixel=int(data["oav_snapshot_top_left_x"]),
snapshot_offset_y_pixel=int(data["oav_snapshot_top_left_y"]),
orientation=Orientation.HORIZONTAL,
snaked=True,
)
Expand Down

0 comments on commit b5efe47

Please sign in to comment.