File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 1313
1414import argparse
1515import json
16- import pandas as pd
1716import re
1817from glob import glob
1918
@@ -346,10 +345,6 @@ def extract_metrics(
346345 else :
347346 metrics_dict ["total_time" ] = str (total )
348347
349- metrics_df = pd .DataFrame (list (metrics_dict .items ()))
350- col_index = metrics_df .iloc [0 ][1 ] + "__" + metrics_df .iloc [1 ][1 ]
351- metrics_df .columns = ["Metrics" , col_index ]
352-
353348 if hier_json :
354349 # Convert the Metrics dictionary to hierarchical format by stripping
355350 # the stage as a 'key'
@@ -363,13 +358,11 @@ def extract_metrics(
363358 with open (output , "w" ) as resultSpecfile :
364359 json .dump (metrics_dict , resultSpecfile , indent = 2 , sort_keys = True )
365360
366- return metrics_dict , metrics_df
367-
368361
369362args = parse_args ()
370363now = datetime .now ()
371364
372- metrics_dict , metrics_df = extract_metrics (
365+ extract_metrics (
373366 os .path .join (os .path .dirname (os .path .realpath (__file__ )), "../" ),
374367 args .platform ,
375368 args .design ,
You can’t perform that action at this time.
0 commit comments