Skip to content

Commit

Permalink
pass down keys that eko needs but that are deprecated or redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
scarlehoff authored and RoyStegeman committed Oct 31, 2024
1 parent c63c65e commit 6d5b6a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions n3fit/src/evolven3fit/eko_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ def construct_eko_photon_cards(
# if is eko_photon then mu0 = q_gamma
mu0 = float(q_gamma)

# Now make sure the Legacy class still gets a Qedref, which is equal to Qref
theory["Qedref"] = theory["Qref"]
theory["MaxNfAs"] = theory["MaxNfPdf"]

# The Legacy function is able to construct a theory card for eko starting from a NNPDF theory
legacy_class = runcards.Legacy(theory, {})
theory_card = legacy_class.new_theory
Expand Down

0 comments on commit 6d5b6a2

Please sign in to comment.