File tree 2 files changed +8
-6
lines changed
vtr_flow/scripts/tuning_runs
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
prettytable
2
2
lxml
3
3
psutil
4
-
4
+ pandas
5
+ numpy
6
+ scipy
5
7
# Python linter and formatter
6
8
click == 8.0.2 # Our version of black needs an older version of click (https://stackoverflow.com/questions/71673404/importerror-cannot-import-name-unicodefun-from-click)
7
9
black == 21.4b0
8
10
pylint == 2.7.4
9
11
10
12
# Surelog
11
- orderedmultidict
13
+ orderedmultidict
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ def parse_results(input_path):
59
59
full_res_csv_path = os .path .join (largest_run_path , "full_res.csv" )
60
60
61
61
if not os .path .exists (os .path .join (largest_run_path , "parse_results.txt" )):
62
- print (f" parse_results.txt not found." )
62
+ print ("File parse_results.txt not found." )
63
63
sys .exit (1 )
64
64
65
65
# Read the parse_results.txt file and write to full_res.csv
@@ -94,16 +94,16 @@ def parse_results(input_path):
94
94
95
95
# Generate avg_seed.csv if --seed column exists
96
96
generate_avg_seed_csv (full_res_csv_path , largest_run_path )
97
- print (f "Generated average seed results" )
97
+ print ("Generated average seed results" )
98
98
99
99
# Generate gmean_res.csv
100
100
generate_geomean_res_csv (
101
101
os .path .join (largest_run_path , "avg_seed.csv" ), largest_run_path
102
102
)
103
- print (f "Generated geometric average results over all the circuits" )
103
+ print ("Generated geometric average results over all the circuits" )
104
104
105
105
generate_xlsx (largest_run_path )
106
- print (f "Generated xlsx that merges all the result csv files" )
106
+ print ("Generated xlsx that merges all the result csv files" )
107
107
108
108
109
109
def generate_xlsx (largest_run_path ):
You can’t perform that action at this time.
0 commit comments