Skip to content

Commit

Permalink
sample thcovmat only for L2 data, not L1
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyStegeman committed Feb 14, 2025
1 parent 99f4945 commit 55211fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions validphys2/src/validphys/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1742,13 +1742,13 @@ def produce_filter_data(self, fakedata: bool = False, theorycovmatconfig=None):
return validphys.filters.filter_real_data
else:
if theorycovmatconfig is not None and theorycovmatconfig.get(
"use_thcovmat_in_sampling"
"use_thcovmat_in_fakedata_sampling"
):
# NOTE: By the time we run theory covmat closure tests,
# hopefully the generation of pseudodata will be done in python.
raise ConfigError(
"Generating closure test data which samples from the theory "
"covariance matrix has not been implemented yet."
"Generating L1 closure test data which samples from the "
"theory covariance matrix has not been implemented yet."
)
return validphys.filters.filter_closure_data_by_experiment

Expand Down

0 comments on commit 55211fc

Please sign in to comment.