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

feat(app): use metal probe for LPC on Opentrons Flex #13706

Merged
merged 7 commits into from
Oct 6, 2023

Conversation

b-cooper
Copy link
Contributor

@b-cooper b-cooper commented Oct 3, 2023

Overview

In order to support the 96 channel pipette in Labware Position Check, in addition to increasing the
accuracy of labware offsets, performing Labware Position Check on an Opentrons Flex will walk the
user through attaching the calibration probe to the back left most nozzle and in order to use it as
a visual indicator within each position check. Note: the OT2 will still "pick up a tip" to use as a
visual indicator when performing LPC.

Closes RAUT-711

Review requests

  • perform LPC on Flex, confirm it is probe-based
  • perform LPC on OT2, confirm it is tip-based

Risk assessment

medium

In order to support the 96 channel pipette in Labware Position Check, in addition to increasing the
accuracy of labware offsets, performing Labware Position Check on an Opentrons Flex will walk the
user through attaching the calibration probe to the back left most nozzle and in order to use it as
a visual indicator within each position check. Note: the OT2 will still "pick up a tip" to use as a
visual indicator when performing LPC.

Closes RAUT-711
@codecov
Copy link

codecov bot commented Oct 3, 2023

Codecov Report

Merging #13706 (2f1465d) into edge (cd064e6) will increase coverage by 0.04%.
The diff coverage is 31.25%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             edge   #13706      +/-   ##
==========================================
+ Coverage   70.90%   70.94%   +0.04%     
==========================================
  Files        1604     2451     +847     
  Lines       53275    68850   +15575     
  Branches     3634     8205    +4571     
==========================================
+ Hits        37773    48846   +11073     
- Misses      14916    18071    +3155     
- Partials      586     1933    +1347     
Flag Coverage Δ
app 68.81% <31.25%> (+24.68%) ⬆️
components 58.38% <ø> (ø)
labware-library 49.17% <ø> (ø)
protocol-designer 45.62% <ø> (ø)
react-api-client 67.32% <ø> (ø)
step-generation 84.99% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...p/src/organisms/LabwarePositionCheck/CheckItem.tsx 71.25% <100.00%> (ø)
...abwarePositionCheck/utils/getProbeBasedLPCSteps.ts 5.00% <100.00%> (ø)
.../LabwarePositionCheck/utils/getTipBasedLPCSteps.ts 2.00% <100.00%> (ø)
...rganisms/ProtocolsLanding/ProtocolOverflowMenu.tsx 88.09% <ø> (ø)
.../src/organisms/SendProtocolToOT3Slideout/index.tsx 68.42% <ø> (ø)
app/src/pages/AppSettings/AdvancedSettings.tsx 68.42% <ø> (ø)
app/src/redux/config/constants.ts 100.00% <100.00%> (ø)
app/src/redux/config/selectors.ts 92.50% <ø> (ø)
...rc/organisms/LabwarePositionCheck/PrepareSpace.tsx 80.76% <50.00%> (ø)
...arePositionCheck/LabwarePositionCheckComponent.tsx 3.03% <0.00%> (ø)
... and 1 more

... and 836 files with indirect coverage changes

@b-cooper b-cooper marked this pull request as ready for review October 5, 2023 17:14
@b-cooper b-cooper requested a review from a team as a code owner October 5, 2023 17:14
@b-cooper b-cooper requested review from mjhuff, shlokamin and a team and removed request for a team and mjhuff October 5, 2023 17:14
Comment on lines +138 to +145
<MenuItem
onClick={handleClickSendToOT3}
data-testid="ProtocolOverflowMenu_sendToOT3"
>
{t('protocol_list:send_to_robot_overflow', {
robot_display_name: FLEX_DISPLAY_NAME,
})}
</MenuItem>
Copy link
Collaborator

Choose a reason for hiding this comment

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

shouldn't this menu item be visible only for a flex protocol?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just in case there is a problem with app side analysis (which would prevent us from parsing a robotType), we're allowing all protocols to be sent to the Flex (the slideout will only list available Flexes)

Copy link
Member

@shlokamin shlokamin left a comment

Choose a reason for hiding this comment

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

code lgtm, gonna test on a bot soon

Copy link
Member

@shlokamin shlokamin left a comment

Choose a reason for hiding this comment

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

🛡️

@b-cooper b-cooper merged commit 1a301eb into edge Oct 6, 2023
34 of 36 checks passed
@b-cooper b-cooper deleted the app_golden-tip-lpc-ff-removal branch October 6, 2023 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants