-
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
nf-core lint
: Badge Warning
#1613
Comments
I believe this has been fixed in #1590 |
It's different, here the error is on signs before the version number. Line 43 in d0ab20e
|
So this would then be a "lower than" Nextflow version instead of a minimal version. Couldn't "!>=" just be "<". Changes might be warranted beyond the regex. e.g. the version check failure message text. |
I think that the meaning of the the additional For sure the best fix would be to check both the version number and the operator throughout the pipeline. But in practice it's basically always going to be either @sguizard did you update the readme badge manually or was this done by |
I modified the readme manually, |
Yes, it's both, the '!' and the sign.
|
Lets keep things simple and just tolerate all the different symbols in the regex and check only the number 👍🏻 |
Closing due to merge of #1618 |
Description of the bug
nf-core lint gives a warning about badges:
readme: README did not have a Nextflow minimum version badge.
I tried to match the badge code to the nextflowVersion, but the warning is still here.
-> nextflow.config:
nextflowVersion = '!>=21.10.3'
-> README.md (original)
[![Nextflow](https://img.shields.io/badge/nextflow%20DSL2-%E2%89%A521.10.3-23aa62.svg)](https://www.nextflow.io/)
-> README.md (matching nextflow.config)
[![Nextflow](https://img.shields.io/badge/nextflow%20DSL2-!%3E%3D21.10.3-23aa62.svg)](https://www.nextflow.io/)
Command used and terminal output
System information
Nextflow version: 21.10.3
Hardware: Desktop
Executor: local
OS: Kubuntu
Version of nf-core/tools: 2.4.1
Python version: 3.9.7
The text was updated successfully, but these errors were encountered: