From 01690c33d60c5e9a53bf2104f9f6c90254b1826d Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Wed, 30 Apr 2025 10:59:34 +0200 Subject: [PATCH] update MLD regex to deal with scientific notation --- tests/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/constants.py b/tests/constants.py index 5fc9b3f50d..794f977b00 100644 --- a/tests/constants.py +++ b/tests/constants.py @@ -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"(?