File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
pylabrobot/liquid_handling Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2337,15 +2337,15 @@ def assign_child_resource(
2337
2337
2338
2338
async def probe_tip_presence_via_pickup (
2339
2339
self , tip_spots : List [TipSpot ], use_channels : Optional [List [int ]] = None
2340
- ) -> List [ bool ]:
2340
+ ) -> Dict [ str , bool ]:
2341
2341
"""Probe tip presence by attempting pickup on each TipSpot.
2342
2342
2343
2343
Args:
2344
2344
tip_spots: TipSpots to probe.
2345
2345
use_channels: Channels to use (must match tip_spots length).
2346
2346
2347
2347
Returns:
2348
- List[ bool]: True if tip is present, False otherwise .
2348
+ Dict[str, bool]: Mapping of tip spot names to presence flags .
2349
2349
"""
2350
2350
2351
2351
if use_channels is None :
@@ -2410,4 +2410,4 @@ async def probe_tip_presence_via_pickup(
2410
2410
assert cluster [0 ][0 ].location is not None , "TipSpot location must be at a location"
2411
2411
print (f"Warning: drop_tips failed for cluster at x={ cluster [0 ][0 ].location .x } : { e } " )
2412
2412
2413
- return presence_flags
2413
+ return { ts . name : flag for ts , flag in zip ( tip_spots , presence_flags )}
You can’t perform that action at this time.
0 commit comments