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(labware-library): remove python test protocol affordances from labware-creator #13896

Merged
merged 20 commits into from
Mar 19, 2024

Conversation

b-cooper
Copy link
Contributor

@b-cooper b-cooper commented Nov 1, 2023

Overview

The utility of the python test protocol generated from the labware creator has worn-down and been
replaced by other more helpful trouble shooting tools. Return the labware json file by itself
instead of a zip

Closes RAUT-198
Closes RAUT-199
Closes RAUT-200
Closes RAUT-202

Risk assessment

medium, large chunk of code removal

…om labware-creator

The utility of the python test protocol generated from the labware creator has worn-down and been
replaced by other more helpful trouble shooting tools. Return the labware json file by itself
instead of a zip

Closes RAUT-198
@b-cooper b-cooper requested review from a team, shlokamin and jerader November 1, 2023 21:54
@shlokamin
Copy link
Member

looks like u gotta update a snapshot test

Copy link

codecov bot commented Nov 9, 2023

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 68.02%. Comparing base (574f793) to head (6900bb3).
Report is 22 commits behind head on edge.

❗ Current head 6900bb3 differs from pull request most recent head d9eee62. Consider uploading reports for the commit d9eee62 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             edge   #13896      +/-   ##
==========================================
+ Coverage   67.33%   68.02%   +0.68%     
==========================================
  Files        2485     1617     -868     
  Lines       71386    54730   -16656     
  Branches     9030     4107    -4923     
==========================================
- Hits        48069    37231   -10838     
+ Misses      21173    16841    -4332     
+ Partials     2144      658    -1486     
Flag Coverage Δ
labware-library 39.98% <0.00%> (-1.14%) ⬇️

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

Files Coverage Δ
...src/labware-creator/components/sections/Export.tsx 100.00% <ø> (+12.50%) ⬆️
labware-library/src/labware-creator/fields.ts 91.11% <ø> (ø)
...are-library/src/labware-creator/getDefaultedDef.ts 16.66% <ø> (ø)
...-library/src/labware-creator/labwareDefToFields.ts 76.47% <ø> (ø)
...e-library/src/labware-creator/labwareFormSchema.ts 78.37% <ø> (ø)
labware-library/src/labware-creator/index.tsx 0.00% <0.00%> (ø)

... and 1199 files with indirect coverage changes

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.

smoke tested custom labware creator and it works! Looks like a bunch of cypress tests are failing.

@SyntaxColoring
Copy link
Contributor

Hooray!

Might want to call this a feat or fix instead of a refactor, for the sake of changelog scanning.

…bware-creator

Remove the python test protocol generated with custom labware output from the labware creator. There
are more helpful troubleshooting tools elsewhere in the ecosystem. Return only the JSON file instead
of a zip archive

Closes RAUT-198, Closes RAUT-199, Closes RAUT-200, Closes RAUT-202
@b-cooper b-cooper requested review from a team as code owners March 19, 2024 20:18
@b-cooper b-cooper changed the title refactor(labware-library): remove python test protocol affordances from labware-creator fix(labware-library): remove python test protocol affordances from labware-creator Mar 19, 2024
@b-cooper b-cooper merged commit 3e7ba7f into edge Mar 19, 2024
17 checks passed
@b-cooper b-cooper deleted the labware-creator_remove-test-protocol branch March 19, 2024 22:20
Carlos-fernandez pushed a commit that referenced this pull request May 20, 2024
…bware-creator (#13896)

# Overview

The utility of the python test protocol generated from the labware
creator has worn-down and been
replaced by other more helpful trouble shooting tools. Return the
labware json file by itself
instead of a zip

Closes [RAUT-198](https://opentrons.atlassian.net/browse/RAUT-198)
Closes RAUT-199
Closes RAUT-200
Closes RAUT-202

# Risk assessment
medium, large chunk of code removal 

[RAUT-198]:
https://opentrons.atlassian.net/browse/RAUT-198?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
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