Skip to content

Commit 103cf2c

Browse files
committed
remove old z movement method in favor of the new one
1 parent 273b3f4 commit 103cf2c

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

api/src/opentrons/hardware_control/ot3api.py

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2715,9 +2715,9 @@ async def liquid_probe(
27152715
await self.move_to(checked_mount, safe_plunger_pos)
27162716
if probe_settings.aspirate_while_sensing:
27172717
# TODO(cm, 7/8/24): remove p_prep_speed from the rate at some point
2718-
await self._move_to_plunger_bottom(checked_mount, rate=p_prep_speed)
2718+
await self._move_to_plunger_bottom(checked_mount, rate=1)
27192719
else:
2720-
await self._move_to_plunger_top(checked_mount, rate=p_prep_speed)
2720+
await self._move_to_plunger_top_for_liquid_probe(checked_mount, rate=1)
27212721

27222722
try:
27232723
# move to where we want to start a pass and run a pass
@@ -2742,20 +2742,6 @@ async def liquid_probe(
27422742
raise error
27432743
return height
27442744

2745-
async def _move_to_plunger_top(
2746-
self,
2747-
mount: OT3Mount,
2748-
rate: float,
2749-
acquire_lock: bool = True,
2750-
) -> None:
2751-
instrument = self._pipette_handler.get_pipette(mount)
2752-
target_pos = target_position_from_plunger(
2753-
OT3Mount.from_mount(mount),
2754-
instrument.plunger_positions.top,
2755-
self._current_position,
2756-
)
2757-
await self._move(target_pos, speed=rate, acquire_lock=acquire_lock)
2758-
27592745
async def capacitive_probe(
27602746
self,
27612747
mount: OT3Mount,

0 commit comments

Comments
 (0)