Someone asked me if it is possible to run a pipeli...
# nostupidquestions
n
Someone asked me if it is possible to run a pipeline only up to a specific e.g. subworkflow, have it stop there and then resume the run essential from after that subworkflow later on. I think the idea here would be to do this properly, and not by killing nextflow at the ~right time
E.g would it be possible to set a config in such a way that certain subworkflows / tasks will simply not be executed?
e
params skip_flags?
n
Yeah, but if those are not implemented in the pipeline?
e
Implement xD
n
I like your approach, but I dont think this is the solution they are looking for 😄
s
use
ext_when
?
🙌 1
this 1
e.g. a config with:
Copy code
process {
  withName: 'DOWNSTREAM_PROCESS' {
  ext.when = false
  }
}
⭐ 1
then you don't use that config when you resume
you may need to turn off multiple processes
n
That would be ok
thanks!
s
Note that at some point @Ben Sherman wants to remove
when
entirely from the language.
shakefist 1
n
Well, I guess that is a problem for the future 😉