diff --git a/main.nf b/main.nf index 549ed92..3b32962 100644 --- a/main.nf +++ b/main.nf @@ -1,3 +1,5 @@ +nextflow.preview.output = true + process TEST_SUCCESS { /* This process should automatically succeed @@ -471,5 +473,18 @@ workflow NF_CANARY { } workflow { + main: NF_CANARY(params.run, params.skip, params.gpu) + + publish: + outputs = NF_CANARY.out.collect() } + +output { + outputs { + path "." + index { + path params.output_index + } + } +} \ No newline at end of file diff --git a/nextflow.config b/nextflow.config index 5b26959..0cf4ac0 100644 --- a/nextflow.config +++ b/nextflow.config @@ -1,10 +1,11 @@ params { - skip = '' - gpu = false - run = '' - outdir = null - remoteFile = null - container = "quay.io/biocontainers/ubuntu:24.04" + skip = '' + gpu = false + run = '' + outdir = null + remoteFile = null + output_index = "outputs.json" + container = "quay.io/biocontainers/ubuntu:24.04" } process {