Repository navigation
Harden schema validation error messages and docs - #161
Merged
Merged
Conversation
Add errorMessage coverage to nextflow_schema.json pattern-bearing parameters, fix the input mimetype to text/yaml, document references_base_path and its igenomes prefix-rewriting behaviour, and replace the eight placeholder TODO error messages in schema_references.json. Generated by OpenCode
|
Generated by OpenCode
Generated by OpenCode
❌ nf-test failed with latest Nextflow versionNote Tests with Nextflow's latest version failed but it will not cause a CI workflow failure.
See the full run for details. |
Generated by OpenCode
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
Implements the schema-hardening checklist from #107 (remaining PR 1 scope alongside #107/#101/#103):
nextflow_schema.json:errorMessageadded to all pattern/range-bearing parameters (input,tools_bundle,tools,skip_tools,star_sjdbOverhang,star_genomeSAindexNbases,hisat2_build_memory);inputmimetype fixed fromtext/csvtotext/yaml;references_base_pathgiven a real description and help text explaining thes3://ngi-igenomes/igenomes/prefix rewrite; emptydescription/defaultleftovers removed frombuilding_index_options.schema_references.json: all 8"errorMessage": "TODO"placeholders replaced with real messages (ASCAT fields,bed12,chr_dir,macs_gsize,mito_name).Params coverage between
main.nfand the schema verified in sync. Noassets/schema_input.jsonexists —--inputis validated via theschemakeyword againstschema_references.json, as intended.Testing
nextflow run . -profile test,docker --outdir /tmp/opencode/stub-results -stub— green (9 tasks)tests/default.nf.test— greenprek run --all-files— greenCloses part of #107.
Generated by OpenCode