fix: Bug in export of derivative of correlator containing covobs fixed,

test added.
This commit is contained in:
Fabian Joswig 2022-02-09 14:18:36 +00:00
parent 7568275d5d
commit 471eabeb8c
2 changed files with 12 additions and 0 deletions

View file

@ -171,6 +171,9 @@ def create_json_string(ol, description='', indent=1):
names.append(key)
idl.append(value)
my_obs = Obs(samples, names, idl)
my_obs._covobs = obs._covobs
for name in obs._covobs:
my_obs.names.append(name)
my_obs.reweighted = obs.reweighted
my_obs.is_merged = obs.is_merged
return my_obs