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

chore(docs): touch up trash bin line on docs homepage #14492

Merged
merged 3 commits into from
Feb 15, 2024

Conversation

ecormany
Copy link
Contributor

@ecormany ecormany commented Feb 14, 2024

Overview

Follow up to #14455. Fixes syntax and makes the code match the order on the Protocol Examples page.

Also does some housekeeping to set up a feature branch for docs content tied to the PAPI 2.17 release. That will also allow for this change to be deployed immediately.

Test Plan

  • visually inspect sandbox
  • simulate code snippet on PAPI 2.16 / robot stack 7.1.1

Changelog

  • move down trash line and properly indent.
  • remove 2.17 content in versioning.rst and docstring.

Review requests

the whole branch management plan seems sound?

Risk assessment

v low. deleting some docs content but it should be preserved in other branches.

Copy link

codecov bot commented Feb 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0a410c8) 67.79% compared to head (82786c1) 67.79%.
Report is 1 commits behind head on edge.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             edge   #14492      +/-   ##
==========================================
- Coverage   67.79%   67.79%   -0.01%     
==========================================
  Files        2518     2518              
  Lines       72004    72003       -1     
  Branches     9244     9244              
==========================================
- Hits        48815    48814       -1     
  Misses      20987    20987              
  Partials     2202     2202              
Flag Coverage Δ
g-code-testing 92.43% <ø> (ø)

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

Files Coverage Δ
...i/src/opentrons/protocol_api/instrument_context.py 89.09% <ø> (ø)
robot-server/robot_server/runs/run_store.py 100.00% <ø> (ø)

@ecormany ecormany marked this pull request as ready for review February 14, 2024 16:18
@ecormany ecormany requested a review from a team as a code owner February 14, 2024 16:18
@ecormany ecormany requested review from anuwrag and jwwojak and removed request for a team February 14, 2024 16:18
plate = protocol.load_labware(
"corning_96_wellplate_360ul_flat", location="D1"
)
tiprack = protocol.load_labware(
"opentrons_flex_96_tiprack_200ul", location="D2"
)
trash = protocol.load_trash_bin("A3")
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need to use a named location to keep things uniform with the rest of the sample code?

protocol.load_trash_bin(location = "A3")

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh yeah, we could

Copy link
Contributor

@jwwojak jwwojak left a comment

Choose a reason for hiding this comment

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

Making sure about using named locations in code samples.

@ecormany ecormany requested a review from jwwojak February 14, 2024 20:09
Copy link
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

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

Great, thank you - love the feature branch!

@ecormany ecormany added docs papi-v2 Python API V2 labels Feb 15, 2024
@ecormany ecormany merged commit e009f3a into edge Feb 15, 2024
30 checks passed
@ecormany ecormany deleted the docs-trashbin-example branch February 15, 2024 13:25
Copy link
Contributor

@jwwojak jwwojak left a comment

Choose a reason for hiding this comment

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

Thanks for adding the named positions. LGTM.

andySigler pushed a commit that referenced this pull request Feb 15, 2024
* revert 2.17 changes

* fix trash line on homepage

* named location arg
Carlos-fernandez pushed a commit that referenced this pull request May 20, 2024
* revert 2.17 changes

* fix trash line on homepage

* named location arg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs papi-v2 Python API V2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants