16 lines
418 B
Python
16 lines
418 B
Python
def unmount(segment, puck, sample):
|
|
"""
|
|
"""
|
|
assertValidAddress(segment, puck, sample)
|
|
|
|
hexiposi.move(segment)
|
|
|
|
img_segment = get_img_cover_pos()
|
|
if img_segment != segment:
|
|
raise Excepton ("Image detection of cover does not match hexiposi: " + str(img_segment))
|
|
|
|
if type(segment) == str:
|
|
segment = ord(segment.upper()) - ord('A') +1
|
|
|
|
robot.unmount(segment, puck, sample)
|