Retrieve the process's “workdir” folder. #5163
Unanswered
amandine-velt
asked this question in
Q&A
Replies: 1 comment
-
Use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I run my nextflow pipeline with the -resume option and a process I run needs to know the task's workdir, which I have to give it as as an option for its personal “workdir”. By task's workdir I mean, for example :
/path/to/projectdir/work/e5/54dfd7cbb41f1099329d78c0a12bb9
I tried several variables :
${PWD} : give /path/to/projectdir/work
$workflow.workDir : give /path/to/projectdir
${task.workDir} : give the "null" value
Can anyone tell me how to retrieve the exact folder where nextflow launches the task and generates the files?
Thank you very much
Amandine
Beta Was this translation helpful? Give feedback.
All reactions