Skip to content

Commit

Permalink
also iterate theory covmat pdf set
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyStegeman committed Dec 7, 2024
1 parent ad73d20 commit 15d1d62
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion validphys2/src/validphys/eff_exponents.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ def iterated_runcard_yaml(fit, update_runcard_description_yaml):
"""
Takes the runcard with preprocessing iterated and description updated then
- Updates the t0 pdf set to be ``fit``
- Updates the t0 pdf, the fiatlux pdf, and the theory covmat pdf to be ``fit``
- Modifies the random seeds (to random unsigned long ints)
This should facilitate running a new fit with identical input settings
Expand Down Expand Up @@ -614,6 +614,9 @@ def iterated_runcard_yaml(fit, update_runcard_description_yaml):
if "fiatlux" in filtermap:
filtermap['fiatlux']['luxset'] = fit.name

if "theorycovmatconfig" in filtermap:
filtermap["theorycovmatconfig"]["pdf"] = fit.name

with tempfile.NamedTemporaryFile() as fp:
path = Path(fp.name)
yaml_rt.dump(filtermap, path)
Expand Down

0 comments on commit 15d1d62

Please sign in to comment.