-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix multiqc_config.yml
links
#2372
Conversation
I would prefer to keep the version and for |
I think it will work, I will modify it :) |
Codecov Report
@@ Coverage Diff @@
## dev #2372 +/- ##
=======================================
Coverage 72.80% 72.81%
=======================================
Files 78 78
Lines 8888 8891 +3
=======================================
+ Hits 6471 6474 +3
Misses 2417 2417
|
multiqc_config.yml
linksmultiqc_config.yml
links
@@ -75,9 +75,9 @@ def multiqc_config(self): | |||
if "report_comment" not in mqc_yml: | |||
raise AssertionError() | |||
if mqc_yml["report_comment"].strip() != ( | |||
f'This report has been generated by the <a href="https://github.com/nf-core/{self.pipeline_name}/{version}" ' | |||
f'This report has been generated by the <a href="https://github.com/nf-core/{self.pipeline_name}/tree/{version}" ' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment on line 74:
What about checking if the 'manifest.version' contains the 'dev' tag? Then it would also be possible to refer to the dev
version of the pipeline and documentation and wouldn't create a false link.
if ("dev" in version):
version = "dev"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good idea, thanks for the suggestion! I have pushed the changes :)
Close #2361
Needs the changes in nf-core/website#1859
PR checklist
CHANGELOG.md
is updateddocs
is updated