Skip to content
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

Fix problem if process.stageOutMode = 'move' #332

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

Lehmann-Fabian
Copy link
Member

@Lehmann-Fabian Lehmann-Fabian commented Jan 25, 2023

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant