From 113d0bf2d431b0c91bbff96c5fbe39fef46ba48b Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Tue, 3 Aug 2021 12:55:28 -0600 Subject: [PATCH] kpi_csv_sq.py : minor name change to png files saved to be able to identify Signed-off-by: Chuck SmileyRekiere --- py-scripts/sandbox/kpi_csv_sq.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/py-scripts/sandbox/kpi_csv_sq.py b/py-scripts/sandbox/kpi_csv_sq.py index c9d26d51..337b4c02 100755 --- a/py-scripts/sandbox/kpi_csv_sq.py +++ b/py-scripts/sandbox/kpi_csv_sq.py @@ -18,8 +18,9 @@ external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css'] app = dash.Dash(__name__, external_stylesheets=external_stylesheets) # get a list of the kpi.csv files not the path needs to be bassed in -path = Path('./2021-07-31-03-00-01_lf_check') +#path = Path('./2021-07-31-03-00-01_lf_check') #path = Path('./test_data3') +path = Path('./lf_check_2') kpi_list = list(path.glob('**/kpi.csv')) print("kpi_list {}".format(kpi_list)) @@ -99,7 +100,7 @@ for test_tag in test_tag_list: # save the figure - this may need to be re-written print("kpi_file:{}".format(df_tmp['kpi_file'])) #exit(1) - png_path = os.path.join(kpi_file[0],"{}_{}_{}_{}.png".format(test_id[0], group, test_tag, test_rig[0])) + png_path = os.path.join(kpi_file[0],"{}_{}_{}_{}_kpi.png".format(test_id[0], group, test_tag, test_rig[0])) print("png_path {}".format(png_path)) append_fig.write_image(png_path,scale=1,width=1200,height=350) #append_fig.write_image("{}_{}_{}_{}.png".format(test_id[0], group, test_tag, test_rig[0]),scale=1,width=1200,height=350)