Skip to content

Commit

Permalink
make the rest of the tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Nov 22, 2024
1 parent 8495bc0 commit b57a726
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion api/src/opentrons/protocol_api/instrument_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -2158,7 +2158,8 @@ def require_liquid_presence(self, well: labware.Well) -> None:
.. note::
The pressure sensors for the Flex 8-channel pipette are on channels 1 and 8 (positions A1 and H1). For the Flex 96-channel pipette, the pressure sensors are on channels 1 and 96 (positions A1 and H12). Other channels on multi-channel pipettes do not have sensors and cannot detect liquid.
"""
self._raise_if_pressure_not_supported_by_pipette()
# TODO EXEC-1026 put this back once we have the protocol engine pipette config stuff all hooked up
# self._raise_if_pressure_not_supported_by_pipette()
loc = well.top()
self._core.liquid_probe_with_recovery(well._core, loc)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,9 @@ async def test_liquid_probe(
mock_move_group_run.side_effect = probe_move_group_run_side_effect(
head_node, tool_node
)
controller._pipettes_to_monitor_pressure = mock.MagicMock(return_value=[sensor_node_for_mount(mount)])
controller._pipettes_to_monitor_pressure = mock.MagicMock( # type: ignore[method-assign]
return_value=[sensor_node_for_mount(mount)]
)
try:
await controller.liquid_probe(
mount=mount,
Expand Down

0 comments on commit b57a726

Please sign in to comment.