def mount(segment, puck, sample, force=False): """ """ print "mount: ", segment, puck, sample, force #Initial checks assertValidAddress(segment, puck, sample) robot.assert_no_task() robot.reset_motion() robot.state.assertReady() robot.assert_cleared() #robot.assert_in_known_point() hexiposi.assert_homed() #location = robot.get_current_point() #Enabling enable_motion() set_hexiposi(segment) if not force: visual_check_hexiposi(segment) if not robot.is_dewar(): robot.move_dewar() robot.get_dewar(segment, puck, sample) robot.move_gonio() robot.put_gonio() robot.move_dewar()