Skip to content

Commit

Permalink
chore(hardware-testing): update gravimetric patch files
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Feb 1, 2024
1 parent 17feea8 commit 79122f7
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions hardware-testing/hardware_testing/gravimetric/overrides/api.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/api/src/opentrons/hardware_control/instruments/ot3/pipette.py b/api/src/opentrons/hardware_control/instruments/ot3/pipette.py
index 1f6dd0b4b5..1d0cb7b7e3 100644
index 2d36460ca6..8578768930 100644
--- a/api/src/opentrons/hardware_control/instruments/ot3/pipette.py
+++ b/api/src/opentrons/hardware_control/instruments/ot3/pipette.py
@@ -432,11 +432,11 @@ class Pipette(AbstractInstrument[PipetteConfigurations]):
@@ -427,11 +427,11 @@ class Pipette(AbstractInstrument[PipetteConfigurations]):

def set_current_volume(self, new_volume: float) -> None:
assert new_volume >= 0
Expand All @@ -16,7 +16,7 @@ index 1f6dd0b4b5..1d0cb7b7e3 100644
self._current_volume += volume_incr

def remove_current_volume(self, volume_incr: float) -> None:
@@ -444,7 +444,8 @@ class Pipette(AbstractInstrument[PipetteConfigurations]):
@@ -439,7 +439,8 @@ class Pipette(AbstractInstrument[PipetteConfigurations]):
self._current_volume -= volume_incr

def ok_to_add_volume(self, volume_incr: float) -> bool:
Expand All @@ -26,6 +26,31 @@ index 1f6dd0b4b5..1d0cb7b7e3 100644

def ok_to_push_out(self, push_out_dist_mm: float) -> bool:
return push_out_dist_mm <= (
diff --git a/api/src/opentrons/protocol_api/core/engine/deck_conflict.py b/api/src/opentrons/protocol_api/core/engine/deck_conflict.py
index 7ef2cfcbea..a89548afea 100644
--- a/api/src/opentrons/protocol_api/core/engine/deck_conflict.py
+++ b/api/src/opentrons/protocol_api/core/engine/deck_conflict.py
@@ -223,18 +223,12 @@ def check_safe_for_tip_pickup_and_return(
f" when picking up fewer than 96 tips."
)
elif not is_partial_config and not is_96_ch_tiprack_adapter:
- raise UnsuitableTiprackForPipetteMotion(
- f"{tiprack_name} must be on an Opentrons Flex 96 Tip Rack Adapter"
- f" in order to pick up or return all 96 tips simultaneously."
- )
+ pass

elif (
not is_partial_config
): # tiprack is not on adapter and pipette is in full config
- raise UnsuitableTiprackForPipetteMotion(
- f"{tiprack_name} must be on an Opentrons Flex 96 Tip Rack Adapter"
- f" in order to pick up or return all 96 tips simultaneously."
- )
+ pass


def _check_deck_conflict_for_96_channel(
diff --git a/api/src/opentrons/protocol_api/core/legacy/deck.py b/api/src/opentrons/protocol_api/core/legacy/deck.py
index ea4068934b..1b21cac251 100644
--- a/api/src/opentrons/protocol_api/core/legacy/deck.py
Expand Down

0 comments on commit 79122f7

Please sign in to comment.