File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -91,13 +91,17 @@ def load_dir(dir: str) -> pd.DataFrame:
9191 params .append (_dict )
9292 except Exception as e :
9393 failed .append (metrics_fname )
94+ print ("Failed to load" , metrics_fname )
95+ print (e )
9496 continue
9597
9698 # Merge all dataframe
9799 params_df = pd .DataFrame (params )
98100 try :
99101 progress_df = progress_df .merge (params_df , on = "trial_id" )
100102 except KeyError :
103+ print (params_df )
104+ print (progress_df )
101105 print (
102106 "Unable to merge DFs due to missing trial_id in params.json (possibly due to failed trials.)"
103107 )
Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ def openroad(
332332 stdout_file = os .path .join (log_path , "make-finish-stdout.log" ),
333333 )
334334
335- metrics_file = os .path .abspath (os .path .join (report_path , "metrics.json" ))
335+ metrics_file = os .path .abspath (os .path .join (log_path , "metrics.json" ))
336336 metrics_command = export_command
337337 metrics_command += f"{ base_dir } /flow/util/genMetrics.py -x"
338338 metrics_command += f" -v { flow_variant } "
You can’t perform that action at this time.
0 commit comments