Just a quick question. Now that inport with params is being deprecated, which is de right way of passing the publishDir output directory or the cpus to the subworkflows?
Until now I used in my subworkflows processes something like:
Hi @aCore , you should either move the publishDir to config (as is commonly done in nf-core) or migrate to workflow outputs. Workflow outputs are still in preview, but we plan to finalize it in 25.10 and I don’t expect the syntax to change.
At the same time, it might be a can of worms depending on how large your pipeline is, so you’ll have to judge which option makes more sense for your current situation. We will eventually deprecate publishDir in favor of workflow outputs, but that will take some time as we see what challenges remain with migrating large pipelines.