Skip to content

Commit

Permalink
don't air gap if air gap volume is 0
Browse files Browse the repository at this point in the history
  • Loading branch information
sanni-t committed Jan 7, 2025
1 parent 1e0717e commit d42c685
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,8 @@ def _do_touch_tip_and_air_gap(

def _add_air_gap(self, air_gap_volume: float) -> None:
"""Add an air gap."""
if air_gap_volume == 0:
return
aspirate_props = self._transfer_properties.aspirate
# The maximum flow rate should be air_gap_volume per second
flow_rate = min(
Expand Down

0 comments on commit d42c685

Please sign in to comment.