-
Notifications
You must be signed in to change notification settings - Fork 187
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
Check for comma-separated profiles with whitespace #2643
Comments
How would we catch that in the template? Nextflow should check the parameters, not sure where nf-core/tools can interfere with that? |
yeah, shouldn't this be handled on the Nextflow side? |
Having positional arguments in the command is valid for Nextflow, but we never do it with nf-core. So if we use that as the main detection method it should be nf-core specific. I'm suggesting that we put this into a function that sits in The trailing comma in the profile string is an optional extra, if we want to make the check more specific. I'm not 100% certain that we can get the raw profile string or not. |
See here
|
Description of feature
A common user error is to have spaces in config profiles on the command line, for example:
This gives an unintuitive error about not having required software available etc.
It would be nice if we could automatically detect suspected cases of this:
Could then throw a warning, or even exit with an error if we're feeling confident.
The text was updated successfully, but these errors were encountered: