Skip to content

Commit

Permalink
Commit review suggestions by @mirpedrol.
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasZepper committed Jul 14, 2023
1 parent 47388c3 commit e459c66
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nf_core/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ def rectify_raw_container_matches(self, raw_findings):
Mostly, it is a nested DSL2 string, but it may also just be a plain string.
First check if container_value it is a plain container URI like in DSL1 pipelines
First, check if container_value is a plain container URI like in DSL1 pipelines
or a plain URL like in the old DSL2 convention
"""
Expand Down Expand Up @@ -943,7 +943,6 @@ def prioritize_direct_download(self, container_list):
"""
d = {}
for c in container_list:
log.info(c)
if re.match(r"^$|(?!^http)", d.get(k := re.sub(".*/(.*)", "\\1", c), "")):
log.debug(f"{c} matches and will be saved as {k}")
d[k] = c
Expand Down

0 comments on commit e459c66

Please sign in to comment.