Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Follow symlink otherwise the symlink will be hardlink and the files w…
Browse files Browse the repository at this point in the history
…ill be removed if work directory is removed
  • Loading branch information
dweemx committed May 19, 2020
1 parent efae5cd commit 7cd1ee3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/utils/processes/utils.nf
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,6 @@ process SC__PUBLISH {
val(stashedParams)

script:
def compression_level = params.utils.containsKey("publish") &&
params.utils.publish.containsKey("compress_level") ? params.utils.publish.compress_level : 6
outputFileName = getOutputFileName(
tag,
f,
Expand All @@ -311,7 +309,7 @@ process SC__PUBLISH {
stashedParams
)
"""
mv $f tmp
cp -rL $f tmp
ln tmp "${outputFileName}"
rm tmp
"""
Expand Down

0 comments on commit 7cd1ee3

Please sign in to comment.