Skip to content

Commit

Permalink
remove old z movement method in favor of the new one
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Jul 22, 2024
1 parent 07970d8 commit b9c8296
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions api/src/opentrons/hardware_control/ot3api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand Down

0 comments on commit b9c8296

Please sign in to comment.