Skip to content

Commit

Permalink
refactor(protocol-designer): filter out 96-channel tiprack adapter fo… (
Browse files Browse the repository at this point in the history
  • Loading branch information
jerader authored Sep 8, 2023
1 parent c938a25 commit 13ec104
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,13 @@ export const LabwareSelectionModal = (props: Props): JSX.Element | null => {
defs,
(acc, def: typeof defs[keyof typeof defs]) => {
const category: string = def.metadata.displayCategory
// filter out non-permitted tipracks
// filter out non-permitted tipracks +
// temporarily filtering out 96-channel adapter until we support
// 96-channel
if (
category === 'tipRack' &&
!permittedTipracks.includes(getLabwareDefURI(def))
(category === 'tipRack' &&
!permittedTipracks.includes(getLabwareDefURI(def))) ||
def.parameters.loadName === 'opentrons_flex_96_tiprack_adapter'
) {
return acc
}
Expand Down

0 comments on commit 13ec104

Please sign in to comment.