puck dislodgement check
This commit is contained in:
@@ -27,8 +27,14 @@ def unmount(segment = None, puck = None, sample = None, force=True, auto_unmount
|
||||
needs_chilling = not is_rt and was_warm
|
||||
needs_drying = is_rt and was_cold
|
||||
move_cold_at_end = str(next_segment) in COLD_SEGMENTS
|
||||
|
||||
|
||||
|
||||
try:
|
||||
assert_puck_detected(segment, puck)
|
||||
except:
|
||||
msg = "puck for sample %s no longer present/detected afget get_dewar()" % (pos,)
|
||||
evlog(msg)
|
||||
raise Exception(msg)
|
||||
|
||||
#Initial checks
|
||||
if not auto_unmount:
|
||||
print "%4.1f s asserting" % (tg() - t1,)
|
||||
|
||||
Reference in New Issue
Block a user