From 0be52477f7d1a039889e1d6cd3108415dd60e273 Mon Sep 17 00:00:00 2001 From: Vladimir Malenovsky Date: Mon, 11 May 2026 10:31:21 +0200 Subject: [PATCH] fix missing return value --- scripts/ivas_conformance/runConformance.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/ivas_conformance/runConformance.py b/scripts/ivas_conformance/runConformance.py index 01f5a53bb..bddee5621 100644 --- a/scripts/ivas_conformance/runConformance.py +++ b/scripts/ivas_conformance/runConformance.py @@ -1880,6 +1880,8 @@ class MLDConformance: return non_be_detected def doBEanalysis(self, selectTag="all"): + all_ok = True + be_failure_csv = [] keys = IVAS_Bins.keys() if selectTag == "all" else [selectTag] for tag in keys: if os.path.exists(self.BEcsv[tag]): @@ -1896,11 +1898,17 @@ class MLDConformance: skiprows=1, usecols=1, ) + BEresult = np.atleast_1d(BEresult) + if int(np.sum(BEresult)) > 0: + all_ok = False + be_failure_csv.append(self.BEcsv[tag]) # if np.sum(BEresult) > 0: # print(f"<{tag}> FAILED BE TEST, check {self.BEcsv[tag]}") # else: # print(f"<{tag}> PASSED BE TEST") + return all_ok, be_failure_csv + def computeCorridor( self, refWithTags, -- GitLab