Skip to content

Commit 55ba823

Browse files
committed
Merge branch 'chore_release-8.4.1' into chore-mergeback-8.4.1-to-8.5.0
2 parents bfadc9a + b717607 commit 55ba823

File tree

5 files changed

+29
-202
lines changed

5 files changed

+29
-202
lines changed

api/release-notes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ By installing and using Opentrons software, you agree to the Opentrons End-User
88

99
---
1010

11+
## Opentrons Robot Software Changes in 8.4.1
12+
13+
There are no changes to the robot software in v8.4.1, but it is required for running protocols in v8.4.1 of the Opentrons App.
14+
15+
---
16+
1117
## Opentrons Robot Software Changes in 8.4.0
1218

1319
Welcome to the v8.4.0 release of the Opentrons robot software! This release includes updated liquid handling commands for pipetting relative to a liquid meniscus, and other new features, improvements, and bug fixes.

app-shell/build/release-notes.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ By installing and using Opentrons software, you agree to the Opentrons End-User
88

99
---
1010

11+
## Opentrons App Changes in 8.4.1
12+
13+
The 8.4.1 hotfix release fixes two issues:
14+
15+
- Placing a Magnetic Block in slot C2 no longer prevents Labware Position Check from running.
16+
- Existing labware offsets are no longer doubled during Labware Position Check.
17+
18+
---
19+
1120
## Opentrons App Changes in 8.4.0
1221

1322
Welcome to the v8.4.0 release of the Opentrons App! This release includes updates to labware offsets on the Flex, as well as other new features, improvements, and bug fixes.
@@ -45,6 +54,8 @@ There are no changes to the Opentrons App in v8.3.2, but it is required for upda
4554

4655
The 8.3.1 hotfix release includes a small fix to allow all robots to properly reboot after an upgrade to v8.3.0.
4756

57+
---
58+
4859
## Opentrons App Changes in 8.3.0
4960

5061
Welcome to the v8.3.0 release of the Opentrons App! This release adds support for Mandarin in the app or Flex touchscreen and includes other beta features for our commercial partners.

app/src/organisms/LabwarePositionCheck/LPCFlows/__tests__/utils.test.ts

Lines changed: 0 additions & 139 deletions
This file was deleted.

app/src/organisms/LabwarePositionCheck/LPCFlows/useLPCFlows.ts

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
1-
import { useEffect, useMemo, useState } from 'react'
2-
31
import { getLabwareDefinitionsFromCommands } from '@opentrons/components'
42
import {
53
useCreateMaintenanceRunLabwareDefinitionMutation,
64
useDeleteMaintenanceRunMutation,
75
} from '@opentrons/react-api-client'
8-
import { FLEX_ROBOT_TYPE } from '@opentrons/shared-data'
9-
6+
import { FLEX_ROBOT_TYPE, OT2_ROBOT_TYPE } from '@opentrons/shared-data'
7+
import type { RobotType } from '@opentrons/shared-data'
108
import { useInitLPCStore } from '/app/organisms/LabwarePositionCheck/LPCFlows/hooks/useInitLPCStore'
11-
import { getRelevantOffsets } from '/app/organisms/LabwarePositionCheck/LPCFlows/utils'
9+
import type {
10+
LegacySupportLPCFlowsProps,
11+
LPCFlowsProps,
12+
} from '/app/organisms/LabwarePositionCheck/LPCFlows/LPCFlows'
1213
import { useNotifyDeckConfigurationQuery } from '/app/resources/deck_configuration'
1314
import {
1415
useCreateTargetedMaintenanceRunMutation,
1516
useMostRecentCompletedAnalysis,
1617
useNotifyRunQuery,
1718
} from '/app/resources/runs'
18-
19+
import { useEffect, useMemo, useState } from 'react'
1920
import {
2021
useCompatibleAnalysis,
2122
useHandleClientAppliedOffsets,
@@ -27,12 +28,6 @@ import {
2728
} from './hooks'
2829
import { useLPCAnalytics } from './useLPCAnalytics'
2930

30-
import type { RobotType } from '@opentrons/shared-data'
31-
import type {
32-
LegacySupportLPCFlowsProps,
33-
LPCFlowsProps,
34-
} from '/app/organisms/LabwarePositionCheck/LPCFlows/LPCFlows'
35-
3631
interface UseLPCFlowsBase {
3732
showLPC: boolean
3833
lpcProps: LPCFlowsProps | null
@@ -158,14 +153,12 @@ export function useLPCFlows({
158153
if (!isLaunching) {
159154
analytics.reportLaunchLpcWizard()
160155
setIsLaunching(true)
161-
const labwareOffsets = getRelevantOffsets(
162-
robotType,
163-
ot2Offsets,
164-
flexOffsets ?? []
165-
)
166-
const createRunData = labwareOffsets != null ? { labwareOffsets } : {}
156+
// Inject OT-2 offsets into the maintenance run upon creation.
157+
// The Flex injects offsets directly in LPC commands and therefore should not load them into the maintenance run.
158+
const injectedOffsets =
159+
robotType === OT2_ROBOT_TYPE ? { labwareOffsets: ot2Offsets } : {}
167160

168-
return createTargetedMaintenanceRun(createRunData).then(
161+
return createTargetedMaintenanceRun(injectedOffsets).then(
169162
maintenanceRun => {
170163
setMaintenanceRunId(maintenanceRun.data.id)
171164
}

app/src/organisms/LabwarePositionCheck/LPCFlows/utils.ts

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)