From b9c829619064e458adad4c3c48ff5bb90c8f569a Mon Sep 17 00:00:00 2001 From: Ryan howard Date: Mon, 22 Jul 2024 11:45:55 -0400 Subject: [PATCH] remove old z movement method in favor of the new one --- api/src/opentrons/hardware_control/ot3api.py | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/api/src/opentrons/hardware_control/ot3api.py b/api/src/opentrons/hardware_control/ot3api.py index 20fd1621590..c31f41eb497 100644 --- a/api/src/opentrons/hardware_control/ot3api.py +++ b/api/src/opentrons/hardware_control/ot3api.py @@ -2704,9 +2704,9 @@ async def liquid_probe( await self.move_to(checked_mount, safe_plunger_pos) if probe_settings.aspirate_while_sensing: # TODO(cm, 7/8/24): remove p_prep_speed from the rate at some point - await self._move_to_plunger_bottom(checked_mount, rate=p_prep_speed) + await self._move_to_plunger_bottom(checked_mount, rate=1) else: - await self._move_to_plunger_top(checked_mount, rate=p_prep_speed) + await self._move_to_plunger_top_for_liquid_probe(checked_mount, rate=1) try: # move to where we want to start a pass and run a pass @@ -2731,20 +2731,6 @@ async def liquid_probe( raise error return height - async def _move_to_plunger_top( - self, - mount: OT3Mount, - rate: float, - acquire_lock: bool = True, - ) -> None: - instrument = self._pipette_handler.get_pipette(mount) - target_pos = target_position_from_plunger( - OT3Mount.from_mount(mount), - instrument.plunger_positions.top, - self._current_position, - ) - await self._move(target_pos, speed=rate, acquire_lock=acquire_lock) - async def capacitive_probe( self, mount: OT3Mount,