From 4becec5babb2cdbc1ecfd0d1cdd968f0882187c0 Mon Sep 17 00:00:00 2001 From: Andy Sigler Date: Thu, 6 Jul 2023 10:33:35 -0400 Subject: [PATCH] fix(api): Position plunger to bottom before picking up a tip (#13049) --- api/src/opentrons/hardware_control/ot3api.py | 1 + api/tests/opentrons/hardware_control/test_ot3_api.py | 1 + .../hardware_testing/production_qc/pipette_assembly_qc_ot3.py | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/api/src/opentrons/hardware_control/ot3api.py b/api/src/opentrons/hardware_control/ot3api.py index 3b3d96fdbff..09ee2714761 100644 --- a/api/src/opentrons/hardware_control/ot3api.py +++ b/api/src/opentrons/hardware_control/ot3api.py @@ -1668,6 +1668,7 @@ async def pick_up_tip( realmount, tip_length, presses, increment ) + await self._move_to_plunger_bottom(realmount, rate=1.0) if spec.pick_up_motor_actions: await self._motor_pick_up_tip(realmount, spec.pick_up_motor_actions) else: diff --git a/api/tests/opentrons/hardware_control/test_ot3_api.py b/api/tests/opentrons/hardware_control/test_ot3_api.py index 7a56b988b86..26759a4f930 100644 --- a/api/tests/opentrons/hardware_control/test_ot3_api.py +++ b/api/tests/opentrons/hardware_control/test_ot3_api.py @@ -1339,6 +1339,7 @@ async def test_pick_up_tip_full_tiprack( ot3_hardware: ThreadManager[OT3API], mock_instrument_handlers: Tuple[Mock], mock_ungrip: AsyncMock, + mock_move_to_plunger_bottom: AsyncMock, ) -> None: mock_ungrip.return_value = None await ot3_hardware.home() diff --git a/hardware-testing/hardware_testing/production_qc/pipette_assembly_qc_ot3.py b/hardware-testing/hardware_testing/production_qc/pipette_assembly_qc_ot3.py index bf3c8794e3f..d0107656135 100644 --- a/hardware-testing/hardware_testing/production_qc/pipette_assembly_qc_ot3.py +++ b/hardware-testing/hardware_testing/production_qc/pipette_assembly_qc_ot3.py @@ -795,7 +795,7 @@ async def _read_pressure() -> float: if not api.is_simulator: _get_operator_answer_to_question('REMOVE tip to nozzle, enter "y" when ready') print("moving plunger back down to BOTTOM position") - await helpers_ot3.move_plunger_absolute_ot3(api, mount, bottom) + await api.dispense(mount) await api.remove_tip(mount) return pressure_open_air_pass and pressure_sealed_pass and pressure_compress_pass