Skip to content

Commit

Permalink
don't need to check both disposal and air gap volume
Browse files Browse the repository at this point in the history
  • Loading branch information
jbleon95 committed Feb 10, 2025
1 parent 6a802fe commit 6012d02
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@ def check_valid_liquid_class_volume_parameters(
f" with a max volume of {max_volume} µL. Please adjust the dispense volume to fit within"
f" the bounds of the tip."
)
elif air_gap + disposal_volume + aspirate_volume > max_volume:
raise ValueError(
f"Cannot have an air gap of {air_gap} µL and a dispense volume of {disposal_volume} µL for an"
f" aspiration of {aspirate_volume} µL with a max volume of {max_volume} µL. Please adjust the"
f" air gap and/or the dispense volume to fit within the bounds of the tip."
)


def expand_for_volume_constraints(
Expand Down

0 comments on commit 6012d02

Please sign in to comment.