Skip to content

Commit

Permalink
Explicit int after test run on Deb12
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Gruzinov committed Feb 20, 2024
1 parent 44d8f09 commit 8724852
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mxcubecore/HardwareObjects/DESY/MjpgStreamVideo.py
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ def _do_imagePolling(self, sleep_time):
# image.setOffset(QPoint(300,300))
# self.image = QPixmap.fromImage(image)
self.image = QPixmap.fromImage(
image.scaled(self.display_width, self.display_height)
image.scaled(int(self.display_width), int(self.display_height))
)
self.emit("imageReceived", self.image)
# gevent.sleep(0.1)
4 changes: 4 additions & 0 deletions mxcubecore/HardwareObjects/DESY/P11Collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ def data_collection_hook(self):
"P11Collect. - object initialization failed. COLLECTION not possible"
)

osc_pars["kappa"]=0
osc_pars["kappa_phi"]=0


self.diffr = HWR.beamline.diffractometer
detector = HWR.beamline.detector

Expand Down

0 comments on commit 8724852

Please sign in to comment.