Skip to content

Commit

Permalink
Code cleanup (PR 859)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Gruzinov committed Mar 5, 2024
1 parent a97c32e commit f26e35b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions mxcubecore/HardwareObjects/DESY/P11Collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,14 +458,14 @@ def collect_characterisation(
self.log.debug("collecting image %s, angle %f" % (img_no, start_at))

# Keep it here for now. It is not clear if it is needed.
if start_at >= stop_angle:
init_pos = start_at # - self.acq_speed * self.turnback_time
# init_pos = start_at - 1.5
else:
init_pos = start_at # + self.acq_speed * self.turnback_time
# init_pos = start_at + 1.5

# if start_at >= stop_angle:
# init_pos = start_at # - self.acq_speed * self.turnback_time
# # init_pos = start_at - 1.5
# else:
# init_pos = start_at # + self.acq_speed * self.turnback_time
# # init_pos = start_at + 1.5
# self.omega_mv(init_pos, self.default_speed)

self.collect_std_collection(start_at, stop_angle)
self.log.debug(
"======= collect_characterisation Waiting ======================================="
Expand Down

0 comments on commit f26e35b

Please sign in to comment.