Bug report
Example:
test2.nf:
params {
test2_param: String = "test2"
}
process test2 {
script:
"""
echo ${params.test2_param}
"""
}
test1.nf:
include {test2} from './test2.nf'
params {
test1_param: String = "test"
}
process test1 {
script:
"""
echo ${params.test1_param}
"""
}
workflow {
main:
test1()
}
Then setting test1_param:
nextflow run test1.nf --test1_param "hi"
N E X T F L O W ~ version 26.02.0-edge
Launching `test1.nf` [hungry_stone] revision: 39af0968aa
Parameter `test1_param` was specified on the command line or params file but is not declared in the script or config
but also neither for test2_param:
nextflow run test1.nf --test2_param "hi"
N E X T F L O W ~ version 26.02.0-edge
Launching `test1.nf` [big_raman] revision: 39af0968aa
Parameter `test2_param` was specified on the command line or params file but is not declared in the script or config
Environment
- Nextflow version: version 26.02.0
Bug report
Example:
test2.nf:
test1.nf:
Then setting test1_param:
but also neither for test2_param:
Environment