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 (abr-testing): simulate protocols with csv parameter #16685

Merged
merged 3 commits into from
Nov 5, 2024

Conversation

AnthonyNASC20
Copy link
Contributor

Overview

Enabled support for simulating protocols with csv parameters

protocol_end = datetime.strptime(
file_results.get("completedAt", ""), "%Y-%m-%dT%H:%M:%S.%f%z"
)
commands = file_results.get("commands")
Copy link
Contributor

Choose a reason for hiding this comment

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

commands is already defined on line 292 of this function. remove line 345 and use variable commandData

protocol_end = datetime.strptime(
file_results.get("completedAt", ""), "%Y-%m-%dT%H:%M:%S.%f%z"
)
commands = file_results.get("commands")
Copy link
Contributor

Choose a reason for hiding this comment

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

remove line 393 since commands is defined as commandData on line 370

protocol_end = datetime.strptime(
file_results.get("completedAt", ""), "%Y-%m-%dT%H:%M:%S.%f%z"
)
commands = file_results.get("commands")
Copy link
Contributor

Choose a reason for hiding this comment

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

remove line 477 since commands is defined as commandData on line 410

@@ -241,6 +241,7 @@ def parse_results_volume(
"Right Pipette Total Aspirates",
"Right Pipette Total Dispenses",
"Gripper Pick Ups",
"Gripper Pick Ups of None",
Copy link
Contributor

Choose a reason for hiding this comment

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

this is supposed to be Gripper Pick Ups of opentrons_tough_pcr_auto_sealing_lid

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.

This looks good, but please update the pull request title to something that matches commitizen

Copy link
Contributor

@rclarke0 rclarke0 left a comment

Choose a reason for hiding this comment

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

great improvements!

@rclarke0 rclarke0 changed the title Make abr update feat (abr-testing): simulate protocols with csv parameter Nov 5, 2024
@rclarke0 rclarke0 merged commit d0af9a1 into edge Nov 5, 2024
5 checks passed
@rclarke0 rclarke0 deleted the make_abr_update branch November 5, 2024 21:35
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.

3 participants