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

added functions to count module commands per run #14797

Merged
merged 2 commits into from
Apr 4, 2024

Conversation

rclarke0
Copy link
Contributor

@rclarke0 rclarke0 commented Apr 3, 2024

Overview

Functions to Count Module commands per run

Test Plan

  • looked at run logs and used cmd f to double check command counts/times

Changelog

Added a function for the thermocycler, temperature module, and heater shaker to count values of interest for lifetime test comparison
Added those dictionaries to larger dictionary to be included on run sheet

Review requests

Risk assessment

  • These functions are not set up to handle multiples of the same module in a protocol. It will group total commands together
  • some modules do not deactivate at the end of the run. To get total on time, the protocol completedAt timestamp is used.

@rclarke0 rclarke0 requested review from a team as code owners April 3, 2024 23:15
@rclarke0 rclarke0 requested a review from sfoster1 April 3, 2024 23:16
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.

Nice!

@rclarke0 rclarke0 merged commit c0700c8 into edge Apr 4, 2024
5 checks passed
@rclarke0 rclarke0 deleted the abr-command-data-to-google branch April 4, 2024 13:57
Carlos-fernandez pushed a commit that referenced this pull request May 20, 2024
<!--
Thanks for taking the time to open a pull request! Please make sure
you've read the "Opening Pull Requests" section of our Contributing
Guide:


https://github.com/Opentrons/opentrons/blob/edge/CONTRIBUTING.md#opening-pull-requests

To ensure your code is reviewed quickly and thoroughly, please fill out
the sections below to the best of your ability!
-->

# Overview

Functions to Count Module commands per run

# Test Plan

- looked at run logs and used cmd f to double check command counts/times

# Changelog

Added a function for the thermocycler, temperature module, and heater
shaker to count values of interest for lifetime test comparison
Added those dictionaries to larger dictionary to be included on run
sheet
# Review requests

<!--
Describe any requests for your reviewers here.
-->

# Risk assessment

- These functions are not set up to handle multiples of the same module
in a protocol. It will group total commands together
- some modules do not deactivate at the end of the run. To get total on
time, the protocol completedAt timestamp is used.
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.

2 participants