pylabrobot.opentrons.flex.Flex.labware_moved_off_deck#

async Flex.labware_moved_off_deck(resource: Resource) → None#

Tell the robot an EXTERNAL agent (human or lab transporter) removed labware.

A logical move, not a gripper motion: moveLabware with strategy manualMoveWithoutPause drops the labware from the robot-server’s deck model, freeing its slot. Without this the slot stays occupied server-side and a later load into it fails with LocationIsOccupiedError. The PLR-side deck slot is freed too. No wire command is sent for labware that was never loaded into the run; a re-add later loads fresh at its new slot and re-uploads its definition – a different same-named resource must not inherit the departed labware’s geometry.

Parameters:

resource (Resource)

Return type:

None