From 15d1d626c4bbad01a4abd73ee29ce575f2bdde98 Mon Sep 17 00:00:00 2001 From: Roy Stegeman Date: Sat, 7 Dec 2024 11:06:27 +0000 Subject: [PATCH] also iterate theory covmat pdf set --- validphys2/src/validphys/eff_exponents.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/validphys2/src/validphys/eff_exponents.py b/validphys2/src/validphys/eff_exponents.py index 00ac155479..fbab7ca0d6 100644 --- a/validphys2/src/validphys/eff_exponents.py +++ b/validphys2/src/validphys/eff_exponents.py @@ -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 @@ -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)