Nextflow not creating output directory

I have the -output-dir flag passed to the CLI with the name of a directory for published results, however nextflow is not creating the output directory, nor is it creating a results directory if it’s omitted. I’m using the current stable release with the publish directive in the anonymous workflow.

Hi @clarke15_roche,

Could you please post a code snippet? The output file publishing behaviour can vary a bit depending on how you write your Nextflow code.

You may find this part of the training relevant / useful:

And the associated video:

Phil