Skip to content

Commit ac2cb8f

Browse files
MohamedElgammalNathan Shreve
authored andcommitted
Fix the remaining linting issues and add the required libraries to requirements.txt
1 parent 113692e commit ac2cb8f

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

requirements.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ matplotlib
66
distinctipy
77
colour
88
seaborn
9+
pandas
10+
numpy
11+
scipy
912

1013
# Python linter and formatter
1114
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)
1215
black==21.4b0
1316
pylint==2.7.4
1417

1518
# Surelog
16-
orderedmultidict
19+
orderedmultidict

vtr_flow/scripts/tuning_runs/control_runs.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def parse_results(input_path):
5959
full_res_csv_path = os.path.join(largest_run_path, "full_res.csv")
6060

6161
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.")
6363
sys.exit(1)
6464

6565
# Read the parse_results.txt file and write to full_res.csv
@@ -94,16 +94,16 @@ def parse_results(input_path):
9494

9595
# Generate avg_seed.csv if --seed column exists
9696
generate_avg_seed_csv(full_res_csv_path, largest_run_path)
97-
print(f"Generated average seed results")
97+
print("Generated average seed results")
9898

9999
# Generate gmean_res.csv
100100
generate_geomean_res_csv(
101101
os.path.join(largest_run_path, "avg_seed.csv"), largest_run_path
102102
)
103-
print(f"Generated geometric average results over all the circuits")
103+
print("Generated geometric average results over all the circuits")
104104

105105
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")
107107

108108

109109
def generate_xlsx(largest_run_path):

0 commit comments

Comments
 (0)