Skip to content

Commit 7641576

Browse files
committed
Allow generation of L1 data
1 parent a7df230 commit 7641576

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

validphys2/src/validphys/config.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1795,13 +1795,15 @@ def produce_filter_data(
17951795
if not fakedata:
17961796
return validphys.filters.filter_real_data
17971797
else:
1798+
# TODO we don't want to sample from the theory covmat for L1 data,
1799+
# but we do want to use the theory covmat for L2 data
17981800
if theorycovmatconfig is not None and theorycovmatconfig.get(
1799-
"use_thcovmat_in_sampling"
1801+
"use_thcovmat_in_fakedata_sampling"
18001802
):
18011803
# NOTE: By the time we run theory covmat closure tests,
18021804
# hopefully the generation of pseudodata will be done in python.
18031805
raise ConfigError(
1804-
"Generating closure test data which samples from the theory "
1806+
"Generating L1 closure test data which samples from the theory "
18051807
"covariance matrix has not been implemented yet."
18061808
)
18071809
elif inconsistent_fakedata:

0 commit comments

Comments
 (0)