bugfix: read bb and bib/bi corr in one with keyed_out (#237)

This commit is contained in:
Justus Kuhlmann 2024-06-19 12:55:30 +02:00 committed by GitHub
parent 0e8d68a1f0
commit d17513f043
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -362,6 +362,7 @@ def read_sfcf_multi(path, prefix, name_list, quarks_list=['.*'], corr_type_list=
result_dict = {} result_dict = {}
if keyed_out: if keyed_out:
for key in needed_keys: for key in needed_keys:
name = _key2specs(key)[0]
result = [] result = []
for t in range(intern[name]["T"]): for t in range(intern[name]["T"]):
result.append(Obs(internal_ret_dict[key][t], new_names, idl=idl)) result.append(Obs(internal_ret_dict[key][t], new_names, idl=idl))