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(shared-data): exclude module calibration adapters from being rendered. #12971

Merged
merged 3 commits into from
Jun 28, 2023

Conversation

vegano1
Copy link
Contributor

@vegano1 vegano1 commented Jun 23, 2023

Overview

Module calibration adapters are labware but meant for internal uses so we want to exclude them so they aren't rendered on the app.

Closes: RQA-811

Test Plan

  • Make sure the labware are excluded

Changelog

  • add module calibration adapter load names to LABWAREV2_DO_NOT_LIST in shared-data so they are excluded when rendering.

Review requests

Does this make sense?

Risk assessment

low

@vegano1 vegano1 requested a review from a team as a code owner June 23, 2023 20:44
@vegano1 vegano1 requested review from smb2268 and removed request for a team June 23, 2023 20:44
@codecov
Copy link

codecov bot commented Jun 23, 2023

Codecov Report

Merging #12971 (0e716c3) into edge (5fe3f13) will increase coverage by 0.09%.
The diff coverage is n/a.

❗ Current head 0e716c3 differs from pull request most recent head 6d7d171. Consider uploading reports for the commit 6d7d171 to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             edge   #12971      +/-   ##
==========================================
+ Coverage   72.77%   72.87%   +0.09%     
==========================================
  Files        2364     2351      -13     
  Lines       64501    64461      -40     
  Branches     7219     7190      -29     
==========================================
+ Hits        46943    46973      +30     
+ Misses      15879    15805      -74     
- Partials     1679     1683       +4     
Flag Coverage Δ
app 71.56% <ø> (+0.14%) ⬆️
protocol-designer 44.44% <ø> (+0.35%) ⬆️
shared-data 76.63% <ø> (-0.02%) ⬇️
step-generation 85.91% <ø> (+0.79%) ⬆️

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

Impacted Files Coverage Δ
shared-data/js/getLabware.ts 25.92% <ø> (ø)

... and 133 files with indirect coverage changes

Comment on lines 40 to 43
'opentrons_calibration_adapter_heatershaker_module',
'opentrons_calibration_adapter_magnetic_module',
'opentrons_calibration_adapter_temperature_module',
'opentrons_calibration_adapter_thermocycler_module',
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Can we move these below the TODO(lc 8-24-2022) comment below? Right now, the comment above makes it look like these are for "back-compat with legacy v1 defs."

Also, do we need these in PD_DO_NOT_LIST too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will do,
and I'm not sure,
@b-cooper do we also want to add to PD_DO_NOT_LIST ?

Copy link
Collaborator

@jerader jerader left a comment

Choose a reason for hiding this comment

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

this makes sense to me. trying to figure out if we want them in the PD_DO_NOT_LIST as well but easy enough to add them later.

@vegano1 vegano1 merged commit 84b46d8 into edge Jun 28, 2023
@vegano1 vegano1 deleted the RQA-811_hide_calibration_adapters branch June 28, 2023 18:24
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.

4 participants