Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tomoscan/tomoscan_pso.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,11 @@ def end_scan(self):
# Set the rotation speed to maximum
self.epics_pvs['RotationSpeed'].put(self.max_rotation_speed)

# Move the sample in. Could be out if scan was aborted while taking flat fields
# Move the sample in (X/Y stage only). Could be out if scan was aborted while
# taking flat fields. Clear self.rotation_save first so that move_sample_in()
# does not restore the rotation to the end-of-scan angle — ReturnRotation in
# the base end_scan() handles the final rotation position.
self.rotation_save = None
self.move_sample_in()

# Call the base class method
Expand Down