Repository navigation
Type boolean and numeric parameters and require Nextflow 26.04.6 - #359
Merged
Merged
Conversation
Retain config defaults and add CLI regression coverage. Require Nextflow 26.04.6 and update CI, documentation and generated metadata. Generated by GPT-6.1 Sol
|
Warning Newer version of the nf-core template is available. Your pipeline is using an old version of the nf-core template: 4.1.0. For more documentation on how to update your pipeline, please see the Synchronisation documentation. |
|
The nf-core content linter requires software-version coverage in pipeline tests. Assert that help-only parameter tests do not publish analysis versions, rather than launching tasks or disabling the lint check. Generated by GPT-6.1 Sol
Restore the existing main.nf layout outside the typed parameter block and remove the additional parameter-type usage section. Generated by GPT-6.1 Sol
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add native boolean and numeric parameter validation without changing analysis interfaces or config defaults, following the metatdenovo approach.
String parameters and boolean-or-string
helpremain untyped. No workflow/process static typing, plugin upgrades or vendored changes. Update the blocking CI floor, documentation and generated RO-Crate metadata.Evidence
main.nf.After: All 50 declarations match schema scalar types and config nullability; a comparison confirms that all 111 defaults remain unchanged.
tests/params.nf.test --profile dockerpass. Coverage includes CLI boolean flags, numeric values, nullable parameters, precedence, help/version and native invalid-type errors with schema validation disabled.prek run --all-filesand staged pre-commit checks pass.11b72771a4b92dca63a49d43a1625f0f11f51f2b, including nf-core lint, pre-commit and all pipeline/module/subworkflow shards on Nextflow 26.04.6 and latest-everything.main.nfretains its original layout outside the typed parameter block. The additional parameter-type usage section was removed at the author's request.Merge Danger
Door: two-way
Revert the commit to restore the previous declarations and minimum version. No data migration.
Blast Radius: pipeline
All invocations require Nextflow 26.04.6 or later. Invalid scalar values now fail before initialisation, even with
--validate_params false. Analysis behaviour and publication paths are unchanged by the implementation, but container-based regression verification remains blocked locally.Generated by GPT-6.1 Sol
PR checklist
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile debug,test,docker --outdir <OUTDIR>).CHANGELOG.mdis updated.README.mdis updated.No new tools, test datasets or output formats are introduced.