pylabrobot.liquid_handling.liquid_handler.LiquidHandler.pick_up_tips#
- async LiquidHandler.pick_up_tips(tip_spots: List[TipSpot], use_channels: Optional[List[int]] = None, offsets: Optional[Union[Coordinate, List[Optional[Coordinate]]]] = None, **backend_kwargs)#
Pick up tips from a resource.
Examples
Pick up all tips in the first column.
>>> lh.pick_up_tips(tips_resource["A1":"H1"])
Pick up tips on odd numbered rows, skipping the other channels.
>>> lh.pick_up_tips(tips_resource["A1", "C1", "E1", "G1"],use_channels=[0, 2, 4, 6])
Pick up tips from different tip resources:
>>> lh.pick_up_tips(tips_resource1["A1"] + tips_resource2["B2"] + tips_resource3["C3"])
Picking up tips with different offsets:
>>> 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 (Optional[List[int]]) – List of channels to use. Index from front to back. If
None
, the firstlen(channels)
channels will be used.offsets (Optional[Union[Coordinate, List[Optional[Coordinate]]]]) – List of offsets for each channel, a translation that will be applied to the tip drop location. If
None
, no offset will be applied.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.