New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
process.ext set with withName overrides configuration of all processes #2422
Comments
Interestingly, with the following process.ext.args = "Hello World!"
process {
withName: 'BAR' {
ext.args = "Hi World!"
cpus = 1
}
} N E X T F L O W ~ version 21.04.0
Launching `main.nf` [sleepy_brenner] - revision: 352bf9af95
executor > local (2)
[08/1de118] process > FOO [100%] 1 of 1 ✔
[92/af5129] process > BAR [100%] 1 of 1 ✔
Hi World!
Hello World! |
In my test, the patch for #2382 solves also this issue. |
The patch doesn't work for this issue however for me.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Bump. Might be worth giving it another shot to see if it works again with the latest edge release @grst @mahesh-panchal |
It does not, currently this notation works
However, this does not
I've isolated the problem into this test |
I think the problem comes at because we are not taking into account when we are in a nested ConfigObject (stored in I'll take a look to it |
resolve #2422 Signed-off-by: Jorge Aguilera <jorge.aguilera@seqera.io>
resolve #2422 Signed-off-by: Jorge Aguilera <jorge.aguilera@seqera.io>
resolve #2422 Signed-off-by: Jorge Aguilera <jorge.aguilera@seqera.io>
resolve #2422 Signed-off-by: Jorge Aguilera <jorge.aguilera@seqera.io>
resolve #2422 Signed-off-by: Jorge Aguilera <jorge.aguilera@seqera.io>
resolve #2422 Signed-off-by: Jorge Aguilera <jorge.aguilera@seqera.io>
resolve #2422 Signed-off-by: Jorge Aguilera <jorge.aguilera@seqera.io>
resolve #2422 Signed-off-by: Jorge Aguilera <jorge.aguilera@seqera.io>
resolve #2422 Signed-off-by: Jorge Aguilera <jorge.aguilera@seqera.io>
resolve #2422 Signed-off-by: Jorge Aguilera <jorge.aguilera@seqera.io>
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Bug report
Expected behavior and actual behavior
withName
only affect the corresponding process(es)Steps to reproduce the problem
Execute
with the following three files
main.nf
nextflow.config
module.nf
Program output
Environment
GNU bash, version 5.1.8(1)-release (x86_64-pc-linux-gnu)
Additional context
This bug was discovering while experimenting with the new nf-core dsl2.0 template together with @mahesh-panchal and @drpatelh
The text was updated successfully, but these errors were encountered: