Skip to content

Commit

Permalink
feat(protocol-designer): add biorad pcr plate as compatible with adap…
Browse files Browse the repository at this point in the history
…ter + module
  • Loading branch information
jerader committed Dec 6, 2023
1 parent 2a911e3 commit abd0037
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions protocol-designer/src/utils/labwareModuleCompatibility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export const COMPATIBLE_LABWARE_ALLOWLIST_FOR_ADAPTER: Record<
[PCR_ADAPTER_LOADNAME]: [
'opentrons/nest_96_wellplate_100ul_pcr_full_skirt/2',
'opentrons/opentrons_96_wellplate_200ul_pcr_full_skirt/2',
'opentrons/biorad_96_wellplate_200ul_pcr/2',
],
[UNIVERSAL_FLAT_ADAPTER_LOADNAME]: [
'opentrons/corning_384_wellplate_112ul_flat/2',
Expand Down Expand Up @@ -174,6 +175,12 @@ export const getAdapterLabwareIsAMatch = (
'opentrons_flex_96_filtertiprack_1000ul',
]

const pcrLabwares = [

Check warning on line 178 in protocol-designer/src/utils/labwareModuleCompatibility.ts

View check run for this annotation

Codecov / codecov/patch

protocol-designer/src/utils/labwareModuleCompatibility.ts#L178

Added line #L178 was not covered by tests
'biorad_96_wellplate_200ul_pcr',
'nest_96_wellplate_100ul_pcr_full_skirt',
'opentrons_96_wellplate_200ul_pcr_full_skirt',
]

const deepWellPair =
loadName === DEEP_WELL_ADAPTER_LOADNAME &&
draggedLabwareLoadname === 'nest_96_wellplate_2ml_deep'
Expand All @@ -182,8 +189,7 @@ export const getAdapterLabwareIsAMatch = (
draggedLabwareLoadname === 'nest_96_wellplate_200ul_flat'
const pcrPair =
loadName === PCR_ADAPTER_LOADNAME &&
(draggedLabwareLoadname === 'nest_96_wellplate_100ul_pcr_full_skirt' ||
draggedLabwareLoadname === 'opentrons_96_wellplate_200ul_pcr_full_skirt')
pcrLabwares.includes(draggedLabwareLoadname)
const universalPair =
loadName === UNIVERSAL_FLAT_ADAPTER_LOADNAME &&
(draggedLabwareLoadname === 'corning_384_wellplate_112ul_flat' ||
Expand Down

0 comments on commit abd0037

Please sign in to comment.