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

PP-12831 #395

Merged
merged 3 commits into from Apr 18, 2023
Merged

PP-12831 #395

merged 3 commits into from Apr 18, 2023

Conversation

sabrinamohabbat
Copy link
Collaborator

This PR updates protocol.py to not pass in mode params and tip type in the liquid handle transfer instruction.

Tested by generating a test run and you can see the last two liquid handle instructions dont have the mode params and tip type appended.

@codecov-commenter
Copy link

codecov-commenter commented Apr 18, 2023

Codecov Report

Merging #395 (61e9534) into master (98395e1) will decrease coverage by 0.14%.
The diff coverage is 50.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master     #395      +/-   ##
==========================================
- Coverage   84.64%   84.50%   -0.14%     
==========================================
  Files          24       24              
  Lines        4551     4551              
==========================================
- Hits         3852     3846       -6     
- Misses        699      705       +6     
Impacted Files Coverage Δ
autoprotocol/version.py 0.00% <0.00%> (ø)
autoprotocol/protocol.py 79.08% <100.00%> (-0.26%) ⬇️

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@@ -7896,7 +7896,7 @@ def informatics_helper(informatics, dest, multi_src):

# apply tip types to transfer methods
for vol, met in zip(volume, method):
if not met.tip_type:
if met._has_calibration() and not met.tip_type:
Copy link
Contributor

Choose a reason for hiding this comment

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

Curious, prior to this change, was a runtime error being raised resulting in the tip type assignment?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yep! Removing this is what introduced us setting filtered1000s in mode_params.

Copy link
Contributor

Choose a reason for hiding this comment

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

The reason I ask is because there are tests in Txappy that depend on a runtime error being triggered so if we gate this with the `_has_calibration() method we may break the tests in Txappy. Here are the lines to confirm and update if this is True: https://github.com/strateos/txappy/blob/751890f8a6353d385bc35177490d46cd4a1b7372/test/liquid_handle_test.py#L102
https://github.com/strateos/txappy/blob/751890f8a6353d385bc35177490d46cd4a1b7372/test/liquid_handle_test.py#L42

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Will address the txappy tests and update them in a different PR.

@sabrinamohabbat sabrinamohabbat merged commit 60b81c9 into master Apr 18, 2023
7 checks passed
@sabrinamohabbat sabrinamohabbat deleted the pp-12831-update-appy branch April 18, 2023 23:07
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.

None yet

4 participants