Skip to content

Commit

Permalink
feat(abr-testing): Automated ABR data collection Make command (#16548)
Browse files Browse the repository at this point in the history
# Overview

Make commands for ABR testing:
- make abr-setup: starts environmental sensors, gathers run logs, and
calibration logs, and records to google drive
- make simulate: simulates all protocols to identify errors or major
changes before uploading to app or sending to robot

## Test Plan and Hands on Testing
Manually tested commands
  • Loading branch information
AnthonyNASC20 authored Oct 21, 2024
1 parent 0961a8b commit 44e030b
Show file tree
Hide file tree
Showing 12 changed files with 749 additions and 356 deletions.
11 changes: 11 additions & 0 deletions abr-testing/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,14 @@ push-no-restart-ot3: sdist Pipfile.lock

.PHONY: push-ot3
push-ot3: push-no-restart-ot3

.PHONY: abr-setup
abr-setup:
$(python) abr_testing/tools/abr_setup.py

.PHONY: simulate
PROTOCOL_DIR := abr_testing/protocols
SIMULATION_TOOL := protocol_simulation/abr_sim_check.py
EXTENSION := .py
simulate:
$(python) $(SIMULATION_TOOL)
1 change: 1 addition & 0 deletions abr-testing/abr_testing/automation/google_sheets_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ def column_letter_to_index(column_letter: str) -> int:
self.spread_sheet.batch_update(body=body)
except gspread.exceptions.APIError as e:
print(f"ERROR MESSAGE: {e}")
raise

def update_cell(
self, sheet_title: str, row: int, column: int, single_data: Any
Expand Down
Loading

0 comments on commit 44e030b

Please sign in to comment.