Skip to content

Commit

Permalink
hox fix for cropping images from databroker correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
leofang committed Feb 1, 2019
1 parent 3a061e5 commit 96d5586
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nsls2ptycho/roi_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ def save_to_h5(self):
#print(blue_rois)

thread = self._worker_thread \
= HardWorker("save_h5", master.db, p, int(p.scan_num), self.roi_width, self.roi_height,
self.cx, self.cy, threshold, badpixels, blue_rois)
= HardWorker("save_h5", master.db, p, int(p.scan_num), self.roi_height, self.roi_width,
self.cy, self.cx, threshold, badpixels, blue_rois)
thread.finished.connect(lambda: self.btn_save_to_h5.setEnabled(True))
thread.exception_handler = master.exception_handler
self.btn_save_to_h5.setEnabled(False)
Expand Down

0 comments on commit 96d5586

Please sign in to comment.