pylabrobot.liquid_handling.liquid_handler.LiquidHandler.pick_up_tips#
- async LiquidHandler.pick_up_tips(tip_spots: List[TipSpot], use_channels: List[int] | None = None, offsets: List[Coordinate] | None = None, **backend_kwargs)#
Pick up tips from a resource.
Examples
Pick up all tips in the first column.
>>> await lh.pick_up_tips(tips_resource["A1":"H1"])
Pick up tips on odd numbered rows, skipping the other channels.
>>> await lh.pick_up_tips(tips_resource["A1", "C1", "E1", "G1"],use_channels=[0, 2, 4, 6])
Pick up tips from different tip resources:
>>> await lh.pick_up_tips(tips_resource1["A1"] + tips_resource2["B2"] + tips_resource3["C3"])
Picking up tips with different offsets:
>>> await lh.pick_up_tips( ... tip_spots=tips_resource["A1":"C1"], ... offsets=[ ... Coordinate(0, 0, 0), # A1 ... Coordinate(1, 1, 1), # B1 ... Coordinate.zero() # C1 ... ] ... )
- Parameters:
tip_spots (List[TipSpot]) – List of tip spots to pick up tips from.
use_channels (List[int] | None) – List of channels to use. Index from front to back. If
None
, the firstlen(channels)
channels will be used.offsets (List[Coordinate] | None) – List of offsets, one for each channel: a translation that will be applied to the tip drop location.
backend_kwargs – Additional keyword arguments for the backend, optional.
- Raises:
RuntimeError – If the setup has not been run. See
setup()
.ValueError – If the positions are not unique.
HasTipError – If a channel already has a tip.
NoTipError – If a spot does not have a tip.