Skip to content

Commit 337367c

Browse files
notes
1 parent 960a6b2 commit 337367c

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

hardware-testing/hardware_testing/modules/flex_stacker_cycle_qc/__main__.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ async def _main(cfg: TestConfig) -> None:
6262
report.set_tag(device_sn if device_sn else "UNKNOWN")
6363
stackers[device_sn] = (report, stacker)
6464

65-
# # RUN TESTS
65+
# RUN TESTS
6666
try:
6767
for section, test_run in cfg.tests.items():
6868
ui.print_title(section.value)
@@ -73,24 +73,16 @@ async def _main(cfg: TestConfig) -> None:
7373
except Exception as e:
7474
ui.print_error(f"An error occurred: {e}")
7575

76-
# try:
77-
# for section, test_run in cfg.tests.items():
78-
# ui.print_title(section.value)
79-
# await test_run(stacker, report, section.value)
80-
# except Exception as e:
81-
# ui.print_error(f"An error occurred: {e}")
82-
83-
8476
# SAVE REPORT
8577
ui.print_title("DONE")
8678
for sn, (report, stacker) in stackers.items():
8779
report.save_to_disk()
8880
report.print_results()
8981

9082
# Restart the robot server
91-
# if not cfg.simulate:
92-
# print("Starting the robot server")
93-
# subprocess.run(["systemctl restart opentrons-robot-server &"], shell=True)
83+
if not cfg.simulate:
84+
print("Starting the robot server")
85+
subprocess.run(["systemctl restart opentrons-robot-server &"], shell=True)
9486

9587

9688
if __name__ == "__main__":

hardware-testing/hardware_testing/modules/flex_stacker_cycle_qc/test_cycles.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
from opentrons.hardware_control.modules import FlexStacker
1313

14+
# TODO Determine number of cycles we actually want to use
1415
NUM_CYCLES = 10
1516

1617
def build_csv_lines() -> List[Union[CSVLine, CSVLineRepeating]]:

0 commit comments

Comments
 (0)