You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below is a minimal illustrative example. In a larger case of nested parameter groups, the printed dict can be hundreds of columns wide and bury the true reason for the validation failure.
include { validateParameters } from 'plugin/nf-schema'
process SAY_HELLO {
input:
val object
output:
val "Hello $object"
exec: null
}
workflow {
validateParameters()
Channel.of(
'world',
params.foo.bar ?: params.foo.baz,
params.foo.boop,
'General Kenobi'
) | SAY_HELLO | view
}
commandline: nextflow run .
response:
N E X T F L O W ~ version 24.10.2
Launching `./main.nf` [wise_edison] DSL2 - revision: bc7026d241
ERROR ~ Validation of pipeline parameters failed!
-- Check '.nextflow.log' file for details
The following invalid input values have been detected:
* --foo ({"boop":"banana"}): Missing required parameter(s): bar (--foo.bar or --foo.baz is required)
* --foo ({"boop":"banana"}): Missing required parameter(s): baz (--foo.bar or --foo.baz is required)
* --foo ({"boop":"banana"}): Value does not match against any of the schemas
-- Check script 'main.nf' at line: 17 or see '.nextflow.log' file for more details
(nf-core) pikalaxalt@Mac nextflow_test %
The text was updated successfully, but these errors were encountered:
Below is a minimal illustrative example. In a larger case of nested parameter groups, the printed dict can be hundreds of columns wide and bury the true reason for the validation failure.
nextflow_schema.json:
nextflow.config
main.nf
commandline:
nextflow run .
response:
The text was updated successfully, but these errors were encountered: