Skip to content

Commit

Permalink
Merge pull request #2337 from mirpedrol/fix-assets-logo
Browse files Browse the repository at this point in the history
fix url when generating assets logo
  • Loading branch information
mirpedrol authored Jun 22, 2023
2 parents 760e92e + ee00670 commit 7b757a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nf_core/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ def make_pipeline_logo(self):
log.debug(f"Fetching logo from {logo_url}")

email_logo_path = self.outdir / "assets" / f"{self.template_params['name_noslash']}_logo_light.png"
self.download_pipeline_logo(f"{logo_url}&w=400", email_logo_path)
self.download_pipeline_logo(f"{logo_url}?w=600&theme=light", email_logo_path)
for theme in ["dark", "light"]:
readme_logo_url = f"{logo_url}?w=600&theme={theme}"
readme_logo_path = (
Expand Down

0 comments on commit 7b757a7

Please sign in to comment.