Entering edit mode
11 days ago
ScottDansk
▴
10
Hi, i am trying to get the process work dir (i.e work/ae/7162763812631/ ) path within the process that is using that work dir.
I can't find any information online, the only thing searches give me is to use $PWD however that is the root dir of the actual project. Surely this has to be possible?
proccess get_process_work_dir {
script:
"""
echo $PWD
"""
}
gives me /path/to/nextflow/project
proccess get_process_work_dir {
script:
"""
echo ${task.baseDir}
"""
}
gives me null
when i need:
/path/to/nextflow/project/work/1b/1e6d7dff679367be83f943b5dd2636
legend thank you so much!