Commit 01690c33 authored by Jan Kiene's avatar Jan Kiene
Browse files

update MLD regex to deal with scientific notation

parent 64cd5121
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ DMX_MLD = "DMX_MLD"
DMX_SSNR = "DMX_SSNR"

# regex patterns for parsing the output from comparisons -> mainly for BASOP ci
MLD_PATTERN = r"MLD: ([\d\.]*)"
MLD_PATTERN = r"MLD: (\d+\.*\d*[eE]*[-+]*\d*)"
MAX_DIFF_PATTERN = r"MAX_ABS_DIFF: (\d*)"
ODG_PATTERN_PQEVALAUDIO = r"Objective Difference Grade: (-*\d*\.\d*)"
ODG_PATTERN = r"(?<!Delta-)ODG: (-*\d*\.\d*)"