Commit 0ec3aa83 authored by Vladimir Malenovsky's avatar Vladimir Malenovsky
Browse files

add blank line before tag analysis summary

parent c00c551e
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -1206,6 +1206,7 @@ class MLDConformance:
        if self.args.regenerate_mld_ref:
            return command_fail_count == 0 and analysis_ok

        print()
        if command_fail_count == 0 and failure_count == 0 and analysis_ok:
            print(
                f"[{tag}] OK (ERRORS={command_fail_count}, BE={be_count}, NON-BE={non_be_count}, MLD CORRIDOR FAILURES={failure_count})\n"
@@ -1517,10 +1518,10 @@ class MLDConformance:
                    skiprows=1,
                    usecols=1,
                )
                if np.sum(BEresult) > 0:
                    print(f"<{tag}> FAILED BE TEST, check {self.BEcsv[tag]}")
                else:
                    print(f"<{tag}> PASSED BE TEST")
                # if np.sum(BEresult) > 0:
                #     print(f"<{tag}> FAILED BE TEST, check {self.BEcsv[tag]}")
                # else:
                #     print(f"<{tag}> PASSED BE TEST")

    def computeCorridor(self, mldRefWithTags, mldCutWithTags, tag, threshold=0.1):
        indRef = np.argsort(mldRefWithTags["pyTestTag"])
@@ -1934,4 +1935,5 @@ if __name__ == "__main__":
        for tag in testTags:
            tag_status = "OK" if tag_results.get(tag, False) else "FAILED"
            print(f"[{tag}] {tag_status}")
        print("\n")