Hi,
This looks like exactly what I would like to be able to do. I haven't done any groovy programming before, but I will take a look and see if I can implement it.
I didn't know about the nextflow history command, and that raises some questions in my mind.
Is the pipeline script associated with the run UUID? My guess is no, given that --resume uses the same UUID, but the current version of the script.
Maybe it would be good to store the current version of the script associated with the UUID, and allow -resume UUID to restart using that version?
I wonder though: if the full execution context is stored at each invocation, is there really a difference between resuming and not resuming? Assuming none of the input state changes for a task, then a cached result should surely be able to be used in all circumstances? It's kind of an old fashioned benchmark to compare against, but make(1) doesn't need to make a distinction. In fact nextflow would have an advantage over make(1) here because it can use input parameters as well as the set of commands to be executed to determine whether to use a cached output.
Toby.
> You received this message because you are subscribed to a topic in the Google Groups "Nextflow" group.
> To unsubscribe from this topic, visit
https://groups.google.com/d/topic/nextflow/10VtUFy_00k/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
nextflow+u...@googlegroups.com.