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(api): move gantry to safe spot while TC lid moves #3805

Closed
wants to merge 13 commits into from

Conversation

b-cooper
Copy link
Contributor

Provide a protection for calls to thermocycler.open() and .close() that prevents the possibility of
the lid colliding with the pipettes. Before either command is sent to the module, the gantry will
move to a "safe" spot at the highest z above the fixed trash.

Separate calibration will now be required for instances of the same labware that exist in a given
protocol with a different direct parent type (e.g. 'slot', 'thermocycler', 'Magnetic Module'...)

Closes #3775
Provide a protection for calls to thermocycler.open() and .close() that prevents the possibility of
the lid colliding with the pipettes. Before either command is sent to the module, the gantry will
move to a "safe" spot at the highest z above the fixed trash.
@b-cooper b-cooper added feature Ticket is a feature request / PR introduces a feature api Affects the `api` project WIP labels Jul 31, 2019
@b-cooper b-cooper added this to In progress in Sprint 14 - 2019-07-23 via automation Jul 31, 2019
@b-cooper b-cooper moved this from In progress to In Review in Sprint 14 - 2019-07-23 Jul 31, 2019
@codecov
Copy link

codecov bot commented Jul 31, 2019

Codecov Report

Merging #3805 into edge will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             edge    #3805      +/-   ##
==========================================
+ Coverage   57.19%   57.19%   +<.01%     
==========================================
  Files         820      820              
  Lines       22797    22810      +13     
==========================================
+ Hits        13038    13046       +8     
- Misses       9759     9764       +5
Impacted Files Coverage Δ
opentrons/protocol_api/contexts.py 85.11% <0%> (-0.47%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ba0df67...2f2fc12. Read the comment docs.

@b-cooper b-cooper requested a review from a team July 31, 2019 18:02
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.

One change request inline

self._ctx.loaded_instruments.items()
if instr is not None]
try:
instrument = loaded_instruments[0]
Copy link
Member

Choose a reason for hiding this comment

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

Let's try and keep only this line inside the try/catch and return early if it fails so we don't accidentally catch other exceptions.

@b-cooper
Copy link
Contributor Author

closed in favor of #3807

@b-cooper b-cooper closed this Jul 31, 2019
Sprint 14 - 2019-07-23 automation moved this from In Review to Done Jul 31, 2019
@b-cooper b-cooper deleted the api_tc-safe-lid-move branch July 31, 2019 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Affects the `api` project feature Ticket is a feature request / PR introduces a feature
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants