Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Initial release of nf-core/datasync, created with the [nf-core](https://nf-co.re

### `Fixed`

- [[#73](https://github.com/nf-core/datasync/pull/73)] - Create tmp `files_to_copy.tx` avoiding error with write permissions in work directory ([@delfiterradas](https://github.com/delfiterradas), review by [@atrigila](https://github.com/atrigila) and [@antoniasaracco](https://github.com/antoniasaracco)).

### `Dependencies`

### `Deprecated`
5 changes: 4 additions & 1 deletion workflows/datasync.nf
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@ workflow DATASYNC {
.collect { it.readLines() }
.inject { a, b -> a.intersect(b) }

def copy_files = file("${workDir}/${meta.id}_files_to_copy.txt")
def copy_files = java.nio.file.Files.createTempFile(
"${meta.id}_files_to_copy_",
".txt"
)
copy_files.text = common.join('\n') + '\n'

tuple(meta, copy_files)
Expand Down
Loading