This commit is contained in:
gac-S_Changer
2018-09-17 16:56:55 +02:00
parent 531c3f5dfe
commit bc21bb95a3
21 changed files with 486 additions and 114 deletions

View File

@@ -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: