Allow customization of reports by replacing templates and included_files of the same name in the customer directory.
In the following example StandardFigures/WSLTD_logo.png and CAS100000.tex will use substitution in customer folder over the ones in the included_files and templates in the library.
Customer directory structure with overrides:
Replaced logo:
Replaced template:
Other changes
Fixed warning in CAS220107.py trying to show plot in headless environment
Extracted common code in loading document template
RunForCustomers loads overrides and passes them throughout generating report content
Closes issue https://github.com/Woodruff-Scientific-Ltd/PyFECONS/issues/38.
Allow customization of reports by replacing templates and included_files of the same name in the customer directory.
In the following example
StandardFigures/WSLTD_logo.png
andCAS100000.tex
will use substitution in customer folder over the ones in the included_files and templates in the library.Customer directory structure with overrides:
Replaced logo:
Replaced template:
Other changes