-
Hi, I've a nextflow pipeline where I use a script that is located in the project directory so I used $workflow.projectDir, but when I resume the pipeline the process is not cached. Giving the full path to the script fixes the issue. I saw that there was a bug related to this, but that was fixed in 2021. Does anyone have an idea why this is happening, or am I missing something? Thanks! Here is an example, test1 gets executed while test2 is cached:
Nextflow version: 23.10.1 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I found another way by using |
Beta Was this translation helpful? Give feedback.
-
I think the general advice here is to never reference an input file that is not explicitly declared as a process input. That will break a number of things like containerization and caching in some cases |
Beta Was this translation helpful? Give feedback.
I found another way by using
/bin
in the project directory and the moduleBinaries binary feature for in modules.