Skip to content

Commit

Permalink
Nicer syntax from @Midnighter
Browse files Browse the repository at this point in the history
  • Loading branch information
ewels committed May 12, 2022
1 parent 2503e0f commit b6542f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nf_core/modules/lint/main_nf.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def _parse_input(self, line_raw):
"""
inputs = []
# Remove comments and trailing whitespace
line, *_ = line_raw.partition("//")
line = line_raw.split("//")[0]
line = line.strip()
# Tuples with multiple elements
if "tuple" in line:
Expand Down

0 comments on commit b6542f0

Please sign in to comment.