Skip to content

Commit

Permalink
Set omega to 0 at the end explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Gruzinov committed Dec 12, 2023
1 parent 3f63381 commit 1a0b15e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mxcubecore/HardwareObjects/DESY/P11Collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,10 @@ def acquisition_cleanup(self):
self.log.debug("#COLLECT# Closing detector cover")
diffr.detector_cover_close(wait=True)

# Move omega to 0 at the end
self.omega_mv(0, self.default_speed)
self.wait_omega()

except RuntimeError:
self.log.error(traceback.format_exc())

Expand Down

0 comments on commit 1a0b15e

Please sign in to comment.