pylabrobot.liquid_handling.liquid_handler.LiquidHandler.move_lid#

async LiquidHandler.move_lid(lid: pylabrobot.resources.plate.Lid, to: Union[pylabrobot.resources.plate.Plate, pylabrobot.resources.resource_stack.ResourceStack, pylabrobot.resources.coordinate.Coordinate], intermediate_locations: Optional[List[pylabrobot.resources.coordinate.Coordinate]] = None, resource_offset: pylabrobot.resources.coordinate.Coordinate = Coordinate(0, 0, 0), to_offset: pylabrobot.resources.coordinate.Coordinate = Coordinate(0, 0, 0), get_direction: pylabrobot.liquid_handling.standard.GripDirection = GripDirection.FRONT, put_direction: pylabrobot.liquid_handling.standard.GripDirection = GripDirection.FRONT, pickup_distance_from_top: float = 5.7, **backend_kwargs)#

Move a lid to a new location.

A convenience method for move_resource().

Examples

Move a lid to the ResourceStack:

>>> lh.move_lid(plate.lid, stacking_area)

Move a lid to the stacking area and back, grabbing it from the left side:

>>> lh.move_lid(plate.lid, stacking_area, get_direction=GripDirection.LEFT)
>>> lh.move_lid(stacking_area.get_top_item(), plate, put_direction=GripDirection.LEFT)
Parameters
Raises

ValueError – If the lid is not assigned to a resource.