pylabrobot.lib.liquid_handling.tip_presence_probing.probe_tip_inventory#
- async pylabrobot.lib.liquid_handling.tip_presence_probing.probe_tip_inventory(tip_spots: List[TipSpot], use_channels: List[int], *, pick_up_tips: Callable[[List[TipSpot], List[int]], Awaitable[None]], drop_tips: Callable[[List[TipSpot], List[int]], Awaitable[None]], sense_tip_presence: Callable[[], Awaitable[Sequence[bool]]] | None = None, missed_channels: Callable[[Exception], Collection[int] | None] | None = None) Dict[str, bool]#
Probe any number of spots in any order, dealt to the channels as
plan_tip_inventorydoes.- Parameters:
tip_spots (List[TipSpot]) – the spots to probe, in any order; the result keeps it.
use_channels (List[int]) – the channels to probe with, 0-indexed from the back.
pick_up_tips (Callable[[List[TipSpot], List[int]], Awaitable[None]]) – as
probe_tip_presence_via_pickup.drop_tips (Callable[[List[TipSpot], List[int]], Awaitable[None]]) – as
probe_tip_presence_via_pickup.sense_tip_presence (Callable[[], Awaitable[Sequence[bool]]] | None) – as
probe_tip_presence_via_pickup.missed_channels (Callable[[Exception], Collection[int] | None] | None) – as
probe_tip_presence_via_pickup.
- Returns:
Each spot’s name, and whether it held a tip.
- Raises:
ValueError – As
plan_tip_inventory.- Return type: