Add a fallback to using all points for reports that are using old fits with bad filters.
Created by: scarlehoff
One example (I'm using generate_a_report.yaml
as template) that would fail in current master (because the HERACOMBNCEM cuts do not exist). With this you get a million warnings but it works.
I think many warnings is better than a failure. Fixes #1505 (closed)
fit: NNPDF31_nnlo_as_0118_DISonly
pdf:
from_: "fit"
experiments:
- experiment: TEST
datasets:
- {dataset: HERACOMBNCEM , frac: 0.5}
theoryid: 162
use_cuts: "fromfit"
template_text: |
{@experiments::experiment plot_chi2dist@}
actions_:
- report(main=True)