Skip to content
Snippets Groups Projects
Commit 9c845c6e authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Add back working deriva cookie copy (link)

parent 92f9b500
Branches
Tags
3 merge requests!37v0.0.1,!4Develop,!2Resolve "process_getData"
......@@ -8,7 +8,6 @@ params.outDir = "${baseDir}/../output"
// Parse input variables
deriva = file(params.deriva)
deriva.copyTo('~/.bdbag/deriva-cookies.txt')
bdbag = Channel
.fromPath(params.bdbag)
.ifEmpty { exit 1, "bdbag zip file not found: ${params.bdbag}" }
......@@ -35,6 +34,8 @@ process splitData {
"""
hostname
ulimit -a
ln -sf `readlink -e ${deriva}` ~/.bdbag/deriva-cookies.txt
echo LOG: deriva cookie linked
study=`echo "${bdbag}" | cut -d'.' -f1`
echo LOG: \${study}
unzip ${bdbag}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment