Let tags starting with `_` not be included in `compute_only: all`
The following discussion from !243 (merged) should be addressed:
-
@blsqr started a discussion: SkipPlot
from the DAG discussion… 90619fdd already addresses that in part, but it should be simpler, perhaps via a special tag that is always there.
transform: - float: "inf" - div: [1, 0] allow_failure: silent fallback: !dag_tag skip_plot
This would also work for
select_and_combine
:my_plot: select_and_combine: combination_method: merge fields: data: path: randints allow_failure: silent fallback: !dag_tag skip_plot # only triggered if `randints` is missing transform: - .mean: [!dag_prev , [x]]
I think it'd be good to not add further arguments like
skip_if_failing_or_missing
, because that gets hard to maintain. It is a bit more clunky via thefallback: !dag_tag skip_plot
, but it can also be used in more cases ...Edit: caveat being that
compute_only: all
would raiseSkipPlot
…😬 ... so maybe not a good idea after all.
The tricky bit being: How to denote them?
We could use the same pattern as for plots configurations: If a tag starts with _
or .
, it will not be included if compute_only: all
is chosen. That would be a very straight-forward solution... and transparent enough, I think. Also, it does not require to add separate options to tags, which would just over-complicate things.
We could then add a _skip_plot
tag, disable caching for it, and it could be used as fallback in such cases.