Skip to content

Commit

Permalink
Improved log message
Browse files Browse the repository at this point in the history
  • Loading branch information
adamrtalbot committed May 9, 2023
1 parent 46c1dea commit c786f2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nf_core/modules/lint/main_nf.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,11 @@ def check_process_section(self, lines, fix_version, progress_bar):
self.failed.append(("docker_tag", "Unable to parse docker tag", self.main_nf))
docker_tag = NoneD
if l.startswith("quay.io/"):
l_stripped = re.sub("\W+$", "", l)
self.failed.append(
(
"container_links",
f"'quay.io/<org>/<container>:<tag>' container name found, please use just '<org>/<container>:<tag>' instead. Offending container name: {l}",
f"{l_stripped} container name found, please use just 'organisation/container:tag' instead.",
self.main_nf,
)
)
Expand Down

0 comments on commit c786f2a

Please sign in to comment.