Skip to content

Commit

Permalink
don't do from_: scale_variation_theories
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyStegeman committed Oct 31, 2024
1 parent 01eb983 commit 815edc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions n3fit/runcards/examples/Fit_with_theory_covmat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ theory:
theoryid: 708 # database id
theorycovmatconfig:
point_prescription: "9 point"
theoryids:
from_: scale_variation_theories
# theoryids:
# from_: scale_variation_theories
pdf: NNPDF31_nlo_as_0118
use_thcovmat_in_fitting: true
use_thcovmat_in_sampling: true
Expand Down
4 changes: 2 additions & 2 deletions validphys2/src/validphys/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1628,7 +1628,7 @@ def produce_group_dataset_inputs_by_experiment(self, data_input):
def produce_group_dataset_inputs_by_process(self, data_input):
return self.produce_group_dataset_inputs_by_metadata(data_input, "nnpdf31_process")

def produce_scale_variation_theories(self, theoryid, point_prescription):
def produce_theoryids(self, theoryid, point_prescription):
"""Produces a list of theoryids given a theoryid at central scales and a point
prescription. The options for the latter are '3 point', '5 point', '5bar point', '7 point'
and '9 point'. Note that these are defined in arXiv:1906.10698. This hard codes the
Expand Down Expand Up @@ -1691,7 +1691,7 @@ def produce_scale_variation_theories(self, theoryid, point_prescription):
# Check each theory is loaded
theoryids = [self.loader.check_theoryID(thid) for thid in thids]
# NSList needs to be used for theoryids to be recognised as a namespace
return {"theoryids": NSList(theoryids, nskey="theoryid")}
return NSList(theoryids, nskey="theoryid")

@configparser.explicit_node
def produce_filter_data(self, fakedata: bool = False, theorycovmatconfig=None):
Expand Down

0 comments on commit 815edc5

Please sign in to comment.