INNER CODE UNIT · Python

print_summary

nf-core/tools · nf_core/components/lint/__init__.py:364

    def print_summary(self, plain_text=False) -> None:
        """Print a summary table to the console."""
        from nf_core.pipelines.lint_utils import print_summary as print_summary_table

        rows = [
            (len(self.passed), "✔", f"Test{_s(self.passed)} Passed", "green", True),
            (len(self.warned), "!", f"Test Warning{_s(self.warned)}", "yellow", True),
            (len(self.failed), "✗", f"Test{_s(self.failed)} Failed", "red", True),
        ]
        print_summary_table(rows, plain_text)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…