@@ -1912,9 +1912,10 @@ async def dispense96(
19121912 if tip is None :
19131913 continue
19141914
1915- # even if the volume tracker is disabled, a liquid (None, volume) is added to the list
1916- # during the aspiration command
1917- if tip .tracker .is_disabled or not does_volume_tracking ():
1915+ # if we have enough liquid in the tip, remove it from the tip tracker
1916+ # if we do not (for example because the plunger was up on tip pickup), and we
1917+ # do not have volume tracking enabled, we just add a (None, volume) entry
1918+ if tip .tracker .get_used_volume () < volume and not does_volume_tracking ():
19181919 liquids = [(None , volume )]
19191920 else :
19201921 liquids = tip .tracker .remove_liquid (volume = volume )
@@ -1950,9 +1951,10 @@ async def dispense96(
19501951 if tip is None :
19511952 continue
19521953
1953- # even if the volume tracker is disabled, a liquid (None, volume) is added to the list
1954- # during the aspiration command
1955- if tip .tracker .is_disabled or not does_volume_tracking ():
1954+ # if we have enough liquid in the tip, remove it from the tip tracker
1955+ # if we do not (for example because the plunger was up on tip pickup), and we
1956+ # do not have volume tracking enabled, we just add a (None, volume) entry
1957+ if tip .tracker .get_used_volume () < volume and not does_volume_tracking ():
19561958 liquids = [(None , volume )]
19571959 else :
19581960 liquids = tip .tracker .remove_liquid (volume = volume )
0 commit comments