diff --git a/py-scripts/report_library.py b/py-scripts/report_library.py index e1fc2df5..627b6e25 100755 --- a/py-scripts/report_library.py +++ b/py-scripts/report_library.py @@ -14,6 +14,7 @@ class report_library(): _dataframe="", _title="LANForge Test Run Heading", _table_title="LANForge Table Heading", + _obj = "", _date="1/1/2-21 00:00(UTC)", _output_html="outfile.html", _output_pdf="outfile.pdf"): @@ -28,6 +29,7 @@ class report_library(): self.graph_titles="" self.html = "" self.custom_html = "" + self.objective = _obj def set_title(self,_title): @@ -45,6 +47,9 @@ class report_library(): def set_custom_html(self,_custom_html): self.custom_html = _custom_html + def set_obj_html(self,_obj): + self.objective = _obj + def write_html(self): # dataframe_html = self.dataframe.to_html(index=False) # have the index be able to be passed in. # self.build_banner() @@ -81,7 +86,7 @@ class report_library():