Conversation
Review Summary by QodoUpdate nextflow_schema.json with type and default value corrections
WalkthroughsDescription• Remove default false values from boolean schema fields • Change reference_channel type from string to number with numeric default • Update pg_level default to float format for consistency • Align schema with nf-core pipeline standards Diagramflowchart LR
A["Schema Updates"] --> B["Boolean Fields"]
A --> C["Type Changes"]
A --> D["Default Values"]
B --> B1["Remove default: false"]
C --> C1["reference_channel: string to number"]
D --> D1["pg_level: 2 to 2.0"]
File Changes1. nextflow_schema.json
|
Code Review by Qodo
1.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@ypriverol should I try the nf-core template update? |
|
yes, sure. |
Was |
again using command: nf-core pipelines schema build
|
diann to mztab was removed. |
- let's hope the next nf-core tools schema builder does not complain
|
I personally prefer to keep the float values as defaults for a number to show that it can be a float. Maybe the defaults in the config need to be adapted? Or what are we using there? |
|
I actually agree with @jpfeuffer I think is good to give the idea that we can have float, but is also true that in most of the cases in the schema; they are all integers must of the time; mass ranges are most of the time passed as integers and also the limit of the intensity. |
Update the schema.json using
nf-core pipelines schema buildcommand. Mainly defaults and type changes.PR checklist
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).