Skip to content

Commit

Permalink
Fix summary output
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikDanielsson committed Jul 9, 2021
1 parent 87d85a1 commit 0060db2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nf_core/modules/lint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ def lint(self, module=None, key=(), all_modules=False, print_results=True, show_

if print_results:
self._print_results(show_passed=show_passed)
self.print_summary()

def set_up_pipeline_files(self):
self.load_lint_config()
Expand Down Expand Up @@ -422,9 +423,6 @@ def _s(some_list):
table = format_result(self.failed, table)
console.print(table)

# Print lint summary
self.print_summary()

def print_summary(self):
def _s(some_list):
if len(some_list) > 1:
Expand Down

0 comments on commit 0060db2

Please sign in to comment.