From a0edb21960dc69258b449bac032baf3076d81feb Mon Sep 17 00:00:00 2001 From: Laura Cox <31892318+Laura-Danielle@users.noreply.github.com> Date: Tue, 23 May 2023 17:03:51 -0400 Subject: [PATCH] fix(api): disable motors during the pipette attach and detach position (#12772) --- .../commands/calibration/move_to_maintenance_position.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/src/opentrons/protocol_engine/commands/calibration/move_to_maintenance_position.py b/api/src/opentrons/protocol_engine/commands/calibration/move_to_maintenance_position.py index 89f09f997c0..c787849c85b 100644 --- a/api/src/opentrons/protocol_engine/commands/calibration/move_to_maintenance_position.py +++ b/api/src/opentrons/protocol_engine/commands/calibration/move_to_maintenance_position.py @@ -7,7 +7,7 @@ from pydantic import BaseModel, Field from opentrons.types import MountType, Point -from opentrons.hardware_control.types import CriticalPoint +from opentrons.hardware_control.types import CriticalPoint, Axis from opentrons.protocol_engine.commands.command import ( AbstractCommandImpl, BaseCommand, @@ -72,6 +72,7 @@ async def execute( critical_point=CriticalPoint.MOUNT, ) + await self._hardware_api.disengage_axes([Axis.Z, Axis.A]) return MoveToMaintenancePositionResult()