File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed
hardware-testing/hardware_testing/modules/flex_stacker_cycle_qc Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ async def _main(cfg: TestConfig) -> None:
62
62
report .set_tag (device_sn if device_sn else "UNKNOWN" )
63
63
stackers [device_sn ] = (report , stacker )
64
64
65
- # # RUN TESTS
65
+ # RUN TESTS
66
66
try :
67
67
for section , test_run in cfg .tests .items ():
68
68
ui .print_title (section .value )
@@ -73,24 +73,16 @@ async def _main(cfg: TestConfig) -> None:
73
73
except Exception as e :
74
74
ui .print_error (f"An error occurred: { e } " )
75
75
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
-
84
76
# SAVE REPORT
85
77
ui .print_title ("DONE" )
86
78
for sn , (report , stacker ) in stackers .items ():
87
79
report .save_to_disk ()
88
80
report .print_results ()
89
81
90
82
# 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 )
94
86
95
87
96
88
if __name__ == "__main__" :
Original file line number Diff line number Diff line change 11
11
12
12
from opentrons .hardware_control .modules import FlexStacker
13
13
14
+ # TODO Determine number of cycles we actually want to use
14
15
NUM_CYCLES = 10
15
16
16
17
def build_csv_lines () -> List [Union [CSVLine , CSVLineRepeating ]]:
You can’t perform that action at this time.
0 commit comments