Skip to content

Commit

Permalink
fix url when generating assets logo
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Jun 22, 2023
1 parent b223002 commit ee00670
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 ee00670

Please sign in to comment.