Skip to content

Commit bb452b3

Browse files
committed
allow dispensing96 without aspiration96 when volume tracking disabled for MultiHeadDispenseContainer
1 parent 55d3bea commit bb452b3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pylabrobot/liquid_handling/liquid_handler.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1911,7 +1911,12 @@ async def dispense96(
19111911
if tip is None:
19121912
continue
19131913

1914-
liquids = tip.tracker.remove_liquid(volume=volume)
1914+
# even if the volume tracker is disabled, a liquid (None, volume) is added to the list
1915+
# during the aspiration command
1916+
if tip.tracker.is_disabled or not does_volume_tracking():
1917+
liquids = [(None, volume)]
1918+
else:
1919+
liquids = tip.tracker.remove_liquid(volume=volume)
19151920
reversed_liquids = list(reversed(liquids))
19161921
all_liquids.append(reversed_liquids)
19171922

0 commit comments

Comments
 (0)