I want to use gwf touch to avoid rerunning some targets after changing the format of some input files. But I have some not-run, unrelated targets in my workflow (no dependencies between them). This causes touch to raise a FileNotFoundError for the output of the not-run target. Could it be possible to optionally pass a regex (like for gwf run) to only have touch affect a part of the graph (the matching targets and all their dependencies)?
I want to use
gwf touch
to avoid rerunning some targets after changing the format of some input files. But I have some not-run, unrelated targets in my workflow (no dependencies between them). This causestouch
to raise aFileNotFoundError
for the output of the not-run target. Could it be possible to optionally pass a regex (like forgwf run
) to only havetouch
affect a part of the graph (the matching targets and all their dependencies)?E.g.:
gwf touch my_job*
I am on v1.8.5 (due to https://github.com/gwforg/gwf/issues/402)