lf_qa.py : moved dash show to after the static version generated

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-08-10 07:03:36 -06:00
parent 140cd06876
commit dd23604974

View File

@@ -310,6 +310,10 @@ Example: kpi_csv_sq.py --store --png --show --path <path to read kpi.csv> (read
if(args.png == True and args.show == True): if(args.png == True and args.show == True):
print("generating png files will effect initial display performance") print("generating png files will effect initial display performance")
if args.store == False and args.png == False and args.show == False:
print("Need to enter an action of --store --png --show ")
# create report class for reporting # create report class for reporting
report = lf_report(_path = __path, report = lf_report(_path = __path,
@@ -333,9 +337,6 @@ Example: kpi_csv_sq.py --store --png --show --path <path to read kpi.csv> (read
csv_dash.store() csv_dash.store()
if args.png: if args.png:
csv_dash.generate_graph_png() csv_dash.generate_graph_png()
if args.show:
#csv_dash.show(n_clicks)
csv_dash.show()
# generate output reports # generate output reports
report.set_title("LF QA: Verification Test Run") report.set_title("LF QA: Verification Test Run")
@@ -369,11 +370,11 @@ Example: kpi_csv_sq.py --store --png --show --path <path to read kpi.csv> (read
except: except:
print("exception write_pdf_with_timestamp()") print("exception write_pdf_with_timestamp()")
if args.show:
#csv_dash.show(n_clicks)
csv_dash.show()
if args.store == False and args.png == False and args.show == False:
print("Need to enter an action of --store --png --show ")
if __name__ == '__main__': if __name__ == '__main__':
main() main()