Skip to content

Commit 0e1ba8f

Browse files
committed
Merge 'chore_release-pd-8.5.0' into 'edge', bumping 13.json -> 14.json
2 parents 478e670 + 99be964 commit 0e1ba8f

File tree

5 files changed

+7382
-335
lines changed

5 files changed

+7382
-335
lines changed

protocol-designer/src/components/organisms/HardwareConfigurator/index.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,16 @@ export function HardwareConfigurator(
5757
const hasModule = Object.values(modules).some(
5858
module => module.cutoutId === cutoutId
5959
)
60+
// since we are adding cutoutA1 in moduleConfig if
61+
// there is a TC
62+
const hasTCAndCutoutA1 =
63+
Object.values(modules).some(
64+
module => module.type === THERMOCYCLER_MODULE_TYPE
65+
) && cutoutId === 'cutoutA1'
6066
const hasFixture = Object.values(fixtures).some(
6167
fixture => fixture.cutoutId === cutoutId
6268
)
63-
return !hasModule && !hasFixture
69+
return !hasModule && !hasFixture && !hasTCAndCutoutA1
6470
}
6571
)
6672
const moduleConfig: DeckConfiguration = Object.values(modules).flatMap(

protocol-designer/src/components/organisms/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export const getLabwareCompatibleForEditHardware = (
111111
} else if (labwareDefB1 != null) {
112112
labwareCompatible = getLabwareIsCompatible(labwareDefB1, moduleType)
113113
} else {
114-
labwareCompatible = false
114+
labwareCompatible = true
115115
}
116116
} else if (labwareDef != null && moduleType != null) {
117117
labwareCompatible = getLabwareIsCompatible(labwareDef, moduleType)

shared-data/command/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ import commandSchemaV10 from './schemas/10.json'
55
import commandSchemaV11 from './schemas/11.json'
66
import commandSchemaV12 from './schemas/12.json'
77
import commandSchemaV13 from './schemas/13.json'
8+
import commandSchemaV14 from './schemas/14.json'
89

910
export * from './types/index'
10-
export const commandSchemaLatest = commandSchemaV13
11+
export const commandSchemaLatest = commandSchemaV14
1112

1213
export {
1314
commandSchemaV7,
@@ -17,4 +18,5 @@ export {
1718
commandSchemaV11,
1819
commandSchemaV12,
1920
commandSchemaV13,
21+
commandSchemaV14,
2022
}

0 commit comments

Comments
 (0)