-
Notifications
You must be signed in to change notification settings - Fork 126
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
Add pattern to input field #832
Conversation
Warning Newer version of the nf-core template is available. Your pipeline is using an old version of the nf-core template: 3.0.2. For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation. |
|
Thanks! However, that will prevent the current flexibility?
csv and yml/yaml will be not accepted then? |
Sorry, yes, you're right, I was too hasty. The right fix is probably something flexible like this: https://github.com/nf-core/differentialabundance/blob/3dd360fed0dca1780db1bdf5dce85e5258fa2253/nextflow_schema.json#L35 There is currently a bug in Platform that will also prevent that working correctly with datasets, but that will be addressed in due course. |
Require all parameters that point to files a |
If you want them to be pickable from datasets in Platform, yes. |
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.
LGTM!
Alright, we add that for input now and keep the issue open for now. The aim would be to add a pattern for all, or at least most, file inputs. |
Adding a pattern to the input field. Closes #831.
PR checklist
nf-core pipelines lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).nextflow run . -profile debug,test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).