Commit 6db0830c authored by Vladimir Malenovsky's avatar Vladimir Malenovsky
Browse files

Merge branch 'float-1595-be-analysis-in-the-conformance-test-in-ci-system-doesnt-run' into 'main'

[CI] BE analysis in the conformance test in CI system doesnt run

See merge request !2632
parents afb485df 0be52477
Loading
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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,