Closed siranipour closed 3 years ago
Ok if we take the example runcard:
pdf: NNPDF31_nnlo_as_0118_DISonly
fit: NNPDF31_nnlo_as_0118_DISonly
experiments:
from_: fit
theory:
from_: fit
theoryid:
from_: theory
t0pdfset:
from_: datacuts
datacuts:
from_: fit
use_cuts: fromfit
template_text: |
{@experiments::experiment plot_chi2dist@}
actions_:
- report(main=True)
It won't work because, for the 2nd to last node, node.value.function
is not a function but instead a reportengine.report.report_generator
object, which we obviously can't delay
:'(. Not too sure how to bypass this.
Edit: report_generator
has a __call__
method so this should work.... Hmmmm : thinking emoji :
Would be cool if it worked, but it doesn't.