Why would the args here: ``` withName: KMCP_CO...
# rubber-duck
j
Why would the args here:
Copy code
withName: KMCP_COMPUTE {
        ext.prefix = { "${meta.id}-kmcp-compute" }
        ext.args   = {
            [
                params.kmcp_compute_byfile ? "" : "--by-seq",
                params.kmcp_compute_options,
            ].join(' ').trim()
        }
        publishDir = [
            enabled: false
        ]
    }
in a
modules.conf
Not reach this module: https://github.com/nf-core/modules/blob/master/modules/nf-core/kmcp/compute/main.nf HELP
r
nvm looks liek the others expect that shoiuld it be just
[ ]
not
{ [ ] }
Copy code
ext.args   = [
                params.kmcp_compute_byfile ? "" : "--by-seq",
                params.kmcp_compute_options,
            ].join(' ').trim()
s
Are you
include
ing the config file?
(I think it does need the closure)
Alternatively, is it being overwritten by another ext.args somewhere else
j
1. Sorry yeah, I originally had just
[]
and that wasn't working (was experiemtnign as I see sarek includes the
{}
2. Yes, it is being included as the
--kcmp_compute_options
works ... 3. I don't think so but I'll hceck
OH GOD DAMN IS IT ITS THE OVERWRRITINGT THING BECAUSE OF HTE ORDER OF MODULES vs NEXTFLOW CONFIG
🙃 2
s
modules.config always at the end 😉
this 1