-
Notifications
You must be signed in to change notification settings - Fork 32
[BUG] Publish processes are not cached when resuming #258
Comments
After some digging, this is caused by the vsn-pipelines/src/utils/processes/utils.nf Lines 374 to 406 in b5167f5
since replacing the output of this function with a fixed string in the publish functions results in proper and consistent caching of these processes on resume. I think the problem could be due to the way getOutputFileName is run inside of the publish process, creating inputs that are dynamic, and forcing the process to be re-executed every time.
As a side note, this is a major issue for disk space in larger (e.g. mapping) projects. I ran into an issue where pbs jobs were failing to be submitted late in the |
I understand, this is quite annoying! |
I just noticed that the |
Nice! That's an interesting point there. I hadn't tested |
|
Describe the bug
When running the pipeline for a second time with the
-resume
option, the publish processes always run and are not cached.To Reproduce
Steps to reproduce the behavior:
Expected behavior
All steps should be cached on resume
Please complete the following information:
Additional context
N/A
The text was updated successfully, but these errors were encountered: