Skip to content

Commit

Permalink
P11 collection debug (#905)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrey Gruzinov <[email protected]>
  • Loading branch information
agruzinov and Andrey Gruzinov authored Mar 21, 2024
1 parent afd21e6 commit 71a88da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions mxcubecore/HardwareObjects/DESY/P11Collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,10 @@ def data_collection_hook(self):
osc_pars["kappa_phi"] = 0

start_angle = osc_pars["start"]
img_range = osc_pars["range"]
nframes = osc_pars["number_of_images"]
self.latest_frames = nframes
stop_angle = start_angle + img_range * nframes

img_range = osc_pars["range"]
exp_time = osc_pars["exposure_time"]
Expand Down
2 changes: 1 addition & 1 deletion mxcubecore/HardwareObjects/DESY/P11NanoDiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def manual_centring(self, phi_range=120, n_points=3):
self.user_clicked_event = AsyncResult()
x, y = self.user_clicked_event.get()
if click < 2:
phi_mot.set_value_relative(phi_range, timeout=60)
phi_mot.set_value_relative(phi_range)

X.append(x)
Y.append(y)
Expand Down

0 comments on commit 71a88da

Please sign in to comment.