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(protocol-designer): wireup wasteChute commands #13953

Closed
wants to merge 65 commits into from

Conversation

ncdiehl11
Copy link
Collaborator

@ncdiehl11 ncdiehl11 commented Nov 8, 2023

closes RAUT-767

Overview

This PR updates the pipetting compound commands to check the dropTipLocation. If the location is included in additionalEquipment, wasteChuteCommandsUtil is called with the correct arguments needed. This is plugged into returnTip and generateRobotStateTimeline.

We also update the robot tip state when the commands get emitted by updating forDropTipLocation.

Test Plan

  • write test to verify that returned commands from replaceTip called at wasteChute return a moveToAddressableArea, dropTipInPlace, and pickUpTip
  • check tip state to ensure replaceTip at waste chute updates used tips
  • verify that we no-op moveToAddressableArea and dropTipInPlace if no tip attached

Changelog

Review requests

@jerader per collaboration

Risk assessment

ncdiehl11 and others added 6 commits November 7, 2023 14:30
If we select the waste chute as our drop tip location, we need to generate different commands from
dropping tips in other locations. For the waste chute, we generate moveToAddressableArea followed by
dropTipInPlace commands.
@ncdiehl11 ncdiehl11 requested a review from a team November 8, 2023 20:54
@ncdiehl11 ncdiehl11 requested a review from a team as a code owner November 8, 2023 20:54
Copy link

codecov bot commented Nov 8, 2023

Codecov Report

Merging #13953 (538283a) into edge (d7c25b2) will decrease coverage by 5.28%.
Report is 45 commits behind head on edge.
The diff coverage is 46.68%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             edge   #13953      +/-   ##
==========================================
- Coverage   70.62%   65.34%   -5.28%     
==========================================
  Files        2481     1317    -1164     
  Lines       69984    30091   -39893     
  Branches     8525     5519    -3006     
==========================================
- Hits        49426    19663   -29763     
+ Misses      18465     8861    -9604     
+ Partials     2093     1567     -526     
Flag Coverage Δ
api ?
app 67.87% <46.11%> (-0.21%) ⬇️
components ?
g-code-testing 96.44% <ø> (ø)
hardware 56.85% <100.00%> (ø)
hardware-testing ∅ <ø> (∅)
labware-library 51.50% <ø> (+2.32%) ⬆️
notify-server 89.13% <ø> (ø)
ot3-gravimetric-test ?
protocol-designer ?
react-api-client 65.96% <100.00%> (+0.14%) ⬆️
robot-server ?
shared-data ?
step-generation ?
system-server ?
update-server ?
usb-bridge ?

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

Files Coverage Δ
app-shell/src/labware/index.ts 79.16% <ø> (ø)
app/src/atoms/StepMeter/index.tsx 90.90% <100.00%> (+2.02%) ⬆️
app/src/molecules/DeckThumbnail/index.tsx 88.88% <100.00%> (+11.11%) ⬆️
app/src/molecules/ReleaseNotes/index.tsx 62.50% <ø> (-4.17%) ⬇️
...rc/molecules/WizardRequiredEquipmentList/index.tsx 81.81% <ø> (-0.80%) ⬇️
app/src/organisms/CalibrateDeck/index.tsx 77.14% <ø> (ø)
app/src/organisms/CalibrateTipLength/index.tsx 75.00% <100.00%> (+0.71%) ⬆️
app/src/organisms/CalibrationPanels/DeckSetup.tsx 56.52% <ø> (ø)
...organisms/CalibrationPanels/Introduction/index.tsx 85.29% <100.00%> (+0.44%) ⬆️
...DeviceDetailsDeckConfiguration/AddFixtureModal.tsx 81.81% <100.00%> (ø)
... and 74 more

... and 1166 files with indirect coverage changes

adds command text with requisite params for dropTipInPlace, dispenseInPlace, blowOutInPlace, and
moveToAddressableArea
@ncdiehl11 ncdiehl11 requested a review from a team as a code owner November 8, 2023 22:58
@ncdiehl11 ncdiehl11 requested review from TamarZanzouri and removed request for a team November 8, 2023 22:58
@ncdiehl11 ncdiehl11 requested a review from jerader November 9, 2023 18:12
@ncdiehl11 ncdiehl11 requested a review from a team as a code owner November 14, 2023 14:57
@ncdiehl11 ncdiehl11 marked this pull request as draft November 14, 2023 14:59
@ncdiehl11 ncdiehl11 marked this pull request as ready for review November 14, 2023 17:28
jerader and others added 26 commits November 14, 2023 15:14
Within the file browser that launches when importing protocols or labware into the Opentrons App,
support multi file select.

Closes RAUT-218
…addressable areas (#13947)

Instead of explicit load fixture commands, extrapolate the simplest possible setup for the deck
given the included addressable areas referenced in a set of protocol commands

Closes RAUT-853
ODD optimizations do not prevent step meter tearing on the physical ODD when step progress
regresses. Playing no animation solves the problem until we optimize ODD animations.
* feat(app): add release notes button on app & robot update modals

* fix(app): fix closing app update modal during robot downgrade

When downgrading a robot, users are first prompted if they'd like to update their app. When clicking
close, the downgrade should proceed instead of crashing the app.
The tests that were supposed to ajv the pipette definitions weren't set
up properly, and the tests that were supposed to test that the tests
were set up properly weren't set up properly, so we weren't testing the
schemas so the schemas were wrong. Fix the schema-test setup, the
test-setup-schema-test setup, and the schema.
changes default OT-2/Flex deck definitions to v4 in shared-data, app, components, and protocol
designer

closes RAUT-781

---------

Co-authored-by: Brian Cooper <[email protected]>
closes RAUT-851

Generate different commands from dropping tips in other locations if we select the waste chute as our drop tip location. For the waste chute, we generate moveToAddressableArea followed by dropTipInPlace commands.
closes RQA-1635
closes RQA-1639

Add divider above first and below last wizard required equipment element. Add padding between
calibration description and download cal logs button
Closes RQA-1887, RQA-1888

* fix(app): fix all ProtocolSlideout deck thumbnails displaying the same deckmap

* fix(app): fix white-screen when selecting failed analysis protocol in protocol slideout
@ncdiehl11 ncdiehl11 requested a review from a team as a code owner November 14, 2023 20:16
@ncdiehl11
Copy link
Collaborator Author

moved to here after rebase disaster

@ncdiehl11 ncdiehl11 closed this Nov 14, 2023
@ncdiehl11 ncdiehl11 deleted the feat_pd-wireup-wastechute-commands branch November 14, 2023 20:57
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.