File tree Expand file tree Collapse file tree 5 files changed +7382
-335
lines changed
protocol-designer/src/components/organisms Expand file tree Collapse file tree 5 files changed +7382
-335
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,16 @@ export function HardwareConfigurator(
57
57
const hasModule = Object . values ( modules ) . some (
58
58
module => module . cutoutId === cutoutId
59
59
)
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'
60
66
const hasFixture = Object . values ( fixtures ) . some (
61
67
fixture => fixture . cutoutId === cutoutId
62
68
)
63
- return ! hasModule && ! hasFixture
69
+ return ! hasModule && ! hasFixture && ! hasTCAndCutoutA1
64
70
}
65
71
)
66
72
const moduleConfig : DeckConfiguration = Object . values ( modules ) . flatMap (
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ export const getLabwareCompatibleForEditHardware = (
111
111
} else if ( labwareDefB1 != null ) {
112
112
labwareCompatible = getLabwareIsCompatible ( labwareDefB1 , moduleType )
113
113
} else {
114
- labwareCompatible = false
114
+ labwareCompatible = true
115
115
}
116
116
} else if ( labwareDef != null && moduleType != null ) {
117
117
labwareCompatible = getLabwareIsCompatible ( labwareDef , moduleType )
Original file line number Diff line number Diff line change @@ -5,9 +5,10 @@ import commandSchemaV10 from './schemas/10.json'
5
5
import commandSchemaV11 from './schemas/11.json'
6
6
import commandSchemaV12 from './schemas/12.json'
7
7
import commandSchemaV13 from './schemas/13.json'
8
+ import commandSchemaV14 from './schemas/14.json'
8
9
9
10
export * from './types/index'
10
- export const commandSchemaLatest = commandSchemaV13
11
+ export const commandSchemaLatest = commandSchemaV14
11
12
12
13
export {
13
14
commandSchemaV7 ,
@@ -17,4 +18,5 @@ export {
17
18
commandSchemaV11 ,
18
19
commandSchemaV12 ,
19
20
commandSchemaV13 ,
21
+ commandSchemaV14 ,
20
22
}
You can’t perform that action at this time.
0 commit comments