-
Notifications
You must be signed in to change notification settings - Fork 115
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
Patch nf schema - include integer & string as type for sample #450
Conversation
|
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!
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. |
PR checklist
Currently, nf-schema would throw a misleading error message if a sample name contained only digits:
-> Entry 2: Error for field 'sample' (303452): Sample name must be provided and cannot contain spaces
The newer version of nf-schema
v2.2.1
throws both the validation error message as the set error message:->Entry 2: Error for field 'sample' (303452): Value is [integer] but should be [string] (Sample name must be provided and cannot contain spaces)
Which is more clear. Additionally added that both strings and integers can be allowed as a type.
nf-core lint
).nextflow run . -profile 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).