chipseq icon indicating copy to clipboard operation
chipseq copied to clipboard

Fix problem if process.stageOutMode = 'move'

Open Lehmann-Fabian opened this issue 3 years ago • 0 comments

Using process.stageOutMode = 'move' will only move files that match the output from a temporary directory to the working directory. Here, it breaks the symlink ${prefix}.bam -> $bam as only ${prefix}.bam is moved, creating a dead link. Defining path(bam) as output solves this problem.

PR checklist

  • [x] This comment contains a description of changes (with reason).
  • [x] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • [x] CHANGELOG.md is updated.

Lehmann-Fabian avatar Jan 25 '23 15:01 Lehmann-Fabian