Commit db7ecb80 authored by Jan Kiene's avatar Jan Kiene
Browse files

rename to MIN_ODG and adapt pages-related scripts

parent 23eebe18
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -92,7 +92,7 @@ ARROW_DOWN = '<span class="arrowdown">&#11010;</span>'


# expected columns. actual columns are filtered from the incoming data later, this
# expected columns. actual columns are filtered from the incoming data later, this
# is mainly for controlling the order in the output table
# is mainly for controlling the order in the output table
COLUMNS = ["testcase", "Result", "MLD", "MAXIMUM ABS DIFF", "MIN_SSNR"]
COLUMNS = ["testcase", "Result", "MLD", "MAXIMUM ABS DIFF", "MIN_SSNR", "MIN_ODG"]
COLUMNS_GLOBAL = COLUMNS[:1]
COLUMNS_GLOBAL = COLUMNS[:1]
COLUMNS_DIFFERENTIAL = COLUMNS[1:]
COLUMNS_DIFFERENTIAL = COLUMNS[1:]
COLUMNS_DIFFERENTIAL_NOT_MLD = COLUMNS_DIFFERENTIAL[2:]
COLUMNS_DIFFERENTIAL_NOT_MLD = COLUMNS_DIFFERENTIAL[2:]
+1 −1
Original line number Original line Diff line number Diff line
@@ -10,7 +10,7 @@ from xml.etree import ElementTree
Parse a junit report and create a summary report.
Parse a junit report and create a summary report.
"""
"""


PROPERTIES = ["MLD", "MAXIMUM ABS DIFF", "MIN_SSNR"]
PROPERTIES = ["MLD", "MAXIMUM ABS DIFF", "MIN_SSNR", "MIN_ODG"]




# Main routine
# Main routine
+2 −2
Original line number Original line Diff line number Diff line
@@ -866,10 +866,10 @@ def parse_properties(text_to_parse: str, output_differs: bool, props_to_record:
            max_odg_diff = max(odg_diffs)
            max_odg_diff = max(odg_diffs)
            max_odg_diff_channel = odg_diffs.index(max_odg_diff)
            max_odg_diff_channel = odg_diffs.index(max_odg_diff)
            props[
            props[
                    "MAX_ODG_DIFF"
                    "MIN_ODG"
                    ] = max_odg_diff
                    ] = max_odg_diff
            props[
            props[
                    "MAX_ODG_DIFF_CHANNEL"
                    "MIN_ODG_CHANNEL"
                    ] = max_odg_diff_channel
                    ] = max_odg_diff_channel


    return props
    return props