Uri David Akavia
02/18/2026, 3:49 PMNicolas Vannieuwkerke
02/18/2026, 3:50 PMnf-test.config file contains points to that config?Uri David Akavia
02/18/2026, 3:58 PMNicolas Vannieuwkerke
02/18/2026, 4:02 PMmain.nf.test file for that specific testNicolas Vannieuwkerke
02/18/2026, 4:03 PMconfig 'nextflow.config' in thereUri David Akavia
02/18/2026, 4:10 PMNicolas Vannieuwkerke
02/18/2026, 4:13 PMext.args via the configUri David Akavia
02/18/2026, 4:19 PMwhen {
process {
"""
// TODO nf-core: define inputs of the process here. Example:
input[0] = [
[ id:'test', single_end:false, strandness:"unstranded" ], // meta map
file('<https://github.com/nf-core/test-datasets/raw/refs/heads/rnasplice/testdata/ERR204916.Aligned.out.bam>', checkIfExists: true),
]
input[1] = [file('<https://github.com/nf-core/test-datasets/raw/refs/heads/rnasplice/reference/genes_chrX.gtf>', checkIfExists: true)]
input[2] = 150
"""
}
}
The nextflow.config contains a section
process {
withName: RMATS_PREP {
ext.args = [
"--variable-read-length --allow-clipping",
meta.single_end ? '-t single' : '',
And other things (trimmed for brevity)
I'm getting an error
ERROR ~ Unknown config attribute process.withName:RMATS_PREP.meta.single_end -- check config file: /home/uridavid/Code/nf-core/modules/modules/nf-core/rmats/prep/tests/./nextflow.config
Do you have any idea what's going on please?Nicolas Vannieuwkerke
02/18/2026, 4:20 PMext.args in a closure ({}). This is basically a way to tell Nextflow to only resolve this when the process is being started up. If you don't add that, Nextflow will resolve it at the start of the run and the meta map has not been defined yet at that pointUri David Akavia
02/18/2026, 4:25 PMwithName: RMATS_PREP {
ext.args = [
"--variable-read-length --allow-clipping",
{meta.single_end ? '-t single' : ''},
Or
withName: RMATS_PREP {
ext.args = {[
"--variable-read-length --allow-clipping",
meta.single_end ? '-t single' : '',
Or something else?Nicolas Vannieuwkerke
02/18/2026, 4:26 PMUri David Akavia
02/18/2026, 4:29 PM