Report: Add 3n-skx NDR
[csit.git] / resources / tools / presentation / generator_tables.py
index 5c692fa..2a366b9 100644 (file)
@@ -264,7 +264,7 @@ def table_oper_data_html(table, input_data):
         if not html_table:
             continue
         try:
-            file_name = f"{table[u'output-file']}_{suite[u'name']}.rst"
+            file_name = f"{table[u'output-file']}{suite[u'name']}.rst"
             with open(f"{file_name}", u'w') as html_file:
                 logging.info(f"    Writing file: {file_name}")
                 html_file.write(u".. raw:: html\n\n\t")
@@ -345,7 +345,7 @@ def table_merged_details(table, input_data):
                         # Temporary solution: remove NDR results from message:
                         if bool(table.get(u'remove-ndr', False)):
                             try:
-                                col_data = col_data.split(u"\n", 1)[1]
+                                col_data = col_data.split(u" |br| ", 1)[1]
                             except IndexError:
                                 pass
                         col_data = f" |prein| {col_data} |preout| "