-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uploads ABR Runs to Google Sheet (#14607)
<!-- 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 Uploads ABR runs to google sheet # Test Plan 1. Uploaded to empty google sheet 2. Uploaded additional lines to filled google sheet 3. Uploaded to sheet during temp/humidity sensor data collection and verified that the other google sheet was not affected. # Changelog - Added time conversion to abr_run_logs.py to convert from UTC to EST - Added check in error logging if error was not documented in final command - removed addition of instrument model from serial number since model information can be extracted from serial. - Added lines to connect to google sheet - Added lines to write to google sheet - Changed try exception block when reading json files to an if statement:read if ends with .json and if run_id exists to avoid reading google_sheets_tools.py and credentials file - In liquid measurement analysis script (analyze_abr.py) changed from reading whole entire file to just the last line because the file stops logging when scale is stable. The last line will always be the stable line. # Review requests <!-- Describe any requests for your reviewers here. --> # Risk assessment Users need a credentials file and google_sheets_tools.py saved in the folder given as an argument when running ABR_read_logs
- Loading branch information
Showing
4 changed files
with
78 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters