Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(protocol-designer): filter out module addressable areas from newL… #14918

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

jerader
Copy link
Collaborator

@jerader jerader commented Apr 16, 2024

…ocation dropdown

closes AUTH-348

Overview

When modules got added to deck config, there were a lot more addressable areas added for each module and their slot location. This PR filters them out in the new location dropdown for move labware

Test Plan

create a flex protocol. add a move labware step and move the tiprack. In the new location dropdown, only slots and off-deck should be available. the module addressable areas should not be available.

Changelog

  • check if slot is a module addressable area and remove it

Review requests

see test plan

Risk assessment

low

@jerader jerader requested a review from a team as a code owner April 16, 2024 17:12
@jerader jerader requested review from koji and ncdiehl11 and removed request for a team April 16, 2024 17:12
@@ -232,7 +233,8 @@ export const getUnoccupiedLabwareLocationOptions: Selector<
.includes(slotId) &&
!isTrashSlot &&
!WASTE_CHUTE_ADDRESSABLE_AREAS.includes(slotId) &&
!notSelectedStagingAreaAddressableAreas.includes(slotId)
!notSelectedStagingAreaAddressableAreas.includes(slotId) &&
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line 101 of this file has a comment to write a test for this util, i'll do so in a followup at some point :D

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@koji koji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jerader jerader merged commit 55d25bb into edge Apr 16, 2024
24 checks passed
@jerader jerader deleted the pd_filter-module-addressable-areas branch April 16, 2024 18:13
Carlos-fernandez pushed a commit that referenced this pull request May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants