I’m curios to know if there is a way to update the completion percentage of process that consists only a single long-running task, while it is running. For example by looking at a number written to a file. Typically the completion percentage stays at 0% and jumps to 100% when complete.
I am aware that this is not the typical usecase for nextflow, but would be happy to hear thoughts?
Nextflow itself has no way of knowing how far along a running process has progressed. Either your script or the tool produces some kind of output that can be monitored, but there’s no way to feed that into a running nextflow process that I know of.
Yes the tool/code does print the completion percentage to the stdout/stderr, which is captured in the command.log. It would be nice to be able to monitor this directly in the terminal somehow. Thanks for confirming that this is not possible. I will make an issue for it!