From 533d120bff03347535652ecf46d84c86a2f09d4d Mon Sep 17 00:00:00 2001 From: Sarah Breen Date: Thu, 25 May 2023 16:29:54 -0400 Subject: [PATCH] fix(app): home leftZ for 96 channel attach flow in case mount falls (#12785) --- app/src/organisms/PipetteWizardFlows/Results.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/src/organisms/PipetteWizardFlows/Results.tsx b/app/src/organisms/PipetteWizardFlows/Results.tsx index d5154d11ed4..d2911628bb9 100644 --- a/app/src/organisms/PipetteWizardFlows/Results.tsx +++ b/app/src/organisms/PipetteWizardFlows/Results.tsx @@ -9,7 +9,9 @@ import { } from '@opentrons/components' import { getPipetteNameSpecs, + LEFT, LoadedPipette, + MotorAxis, NINETY_SIX_CHANNEL, } from '@opentrons/shared-data' import { InProgressModal } from '../../molecules/InProgressModal/InProgressModal' @@ -131,7 +133,11 @@ export const Results = (props: ResultsProps): JSX.Element => { flowType === FLOWS.ATTACH && currentStepIndex !== totalStepCount ) { - const axis = mount === 'left' ? 'leftPlunger' : 'rightPlunger' + let axes: MotorAxis = mount === LEFT ? ['leftPlunger'] : ['rightPlunger'] + // TODO: (sb)5/25/23 Stop homing leftZ for 96 once motor is disabled + if (attachedPipettes[mount]?.instrumentName === 'p1000_96') { + axes = ['leftPlunger', 'leftZ'] + } chainRunCommands( [ { @@ -146,7 +152,7 @@ export const Results = (props: ResultsProps): JSX.Element => { { commandType: 'home' as const, params: { - axes: [axis], + axes: axes, }, }, {