lf_graph.py lf_report.py lf_report_test.py : updated headers

This commit is contained in:
Chuck SmileyRekiere
2021-05-03 06:09:46 -06:00
parent e4a46ffa06
commit 216372d760
3 changed files with 25 additions and 1 deletions

View File

@@ -11,6 +11,10 @@ SETUP:
EXAMPLE:
see: /py-scritps/lf_report_test.py for example
COPYWRITE
Copyright 2021 Candela Technologies Inc
License: Free to distribute and modify. LANforge systems must be licensed.
INCLUDE_IN_README
'''

View File

@@ -6,7 +6,7 @@ NAME: lf_report.py
PURPOSE:
This program is a helper class for reporting results for a lanforge python script.
The class will generate an output directory based on date and time in the /home/lanforge/reports-data/ .
The class will generate an output directory based on date and time in the /home/lanforge/html-reports/ .
If the reports-data is not present then the date and time directory will be created in the current directory.
The banner and Candela Technology logo will be copied in the results directory.
The results directory may be over written and many of the other paramaters during construction.
@@ -21,6 +21,8 @@ LICENSE:
Free to distribute and modify. LANforge systems must be licensed.
Copyright 2021 Candela Technologies Inc
INCLUDE_IN_README
'''
import os

View File

@@ -1,4 +1,22 @@
#!/usr/bin/env python3
'''
NAME: lf_report_test.py
PURPOSE:
Common file for testing lf_report and lf_graph Library generates html and pdf output
SETUP:
/lanforge/html-reports directory needs to be present or output generated in local file
EXAMPLE:
./lf_report_test.py : currently script does not accept input
COPYWRITE
Copyright 2021 Candela Technologies Inc
License: Free to distribute and modify. LANforge systems must be licensed.
INCLUDE_IN_README
'''
import matplotlib.pyplot as plt
import matplotlib as mpl