From 73fc0a5b25ea08ea39afc5cb79f256aa4fc92d4c Mon Sep 17 00:00:00 2001 From: Andy Sigler Date: Fri, 20 Dec 2024 10:21:41 -0500 Subject: [PATCH] undo change to api --- .../opentrons/hardware_control/backends/ot3controller.py | 7 +++---- hardware-testing/hardware_testing/gravimetric/trial.py | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/api/src/opentrons/hardware_control/backends/ot3controller.py b/api/src/opentrons/hardware_control/backends/ot3controller.py index 25c2760b304..cdbd8818111 100644 --- a/api/src/opentrons/hardware_control/backends/ot3controller.py +++ b/api/src/opentrons/hardware_control/backends/ot3controller.py @@ -823,10 +823,9 @@ def _build_home_pipettes_runner( if not pipette_axes: return None - # FIXME: make this configurable as being different from discontinuity - speed_settings = { - OT3AxisKind.P: 10 if gantry_load == GantryLoad.LOW_THROUGHPUT else 5, - } + speed_settings = self._configuration.motion_settings.max_speed_discontinuity[ + gantry_load + ] move_groups: List[MoveGroup] = self._build_axes_home_groups( pipette_axes, speed_settings ) diff --git a/hardware-testing/hardware_testing/gravimetric/trial.py b/hardware-testing/hardware_testing/gravimetric/trial.py index 3a2dd7f8f2e..1cb816fd836 100644 --- a/hardware-testing/hardware_testing/gravimetric/trial.py +++ b/hardware-testing/hardware_testing/gravimetric/trial.py @@ -239,7 +239,7 @@ def _finish_test( # there are WAY too many tips on a 96ch pipette # so drop them incase something bad happened during the test run if resources.pipette.channels == 96 and resources.pipette.has_tip: - resources.ctx.home() + resources.pipette._retract() if resources.pipette.current_volume > 0: ui.print_info("dispensing liquid to trash") trash_container = resources.pipette.trash_container