This commit is contained in:
@@ -4,7 +4,7 @@ def unmount(segment, puck, sample, force=False):
|
||||
print "unmount: ", segment, puck, sample, force
|
||||
|
||||
#Initial checks
|
||||
assertValidAddress(segment, puck, sample)
|
||||
assert_valid_address(segment, puck, sample)
|
||||
assert_puck_detected(segment, puck)
|
||||
|
||||
robot.assert_no_task()
|
||||
@@ -34,6 +34,8 @@ def unmount(segment, puck, sample, force=False):
|
||||
smart_magnet.set_unmount_current()
|
||||
try:
|
||||
robot.get_gonio()
|
||||
#TODO: Shuld check if smart magnet detection is off?
|
||||
update_samples_info_sample_unmount(get_puck_name(segment, puck))
|
||||
robot.move_dewar()
|
||||
robot.put_dewar(segment, puck, sample)
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user