Compare commits
No commits in common. "498f986de757325e4aafc990d3faa2925d236df7" and "5198488810a5730c7a5007e035a539daeda9d043" have entirely different histories.
498f986de7
...
5198488810
4 changed files with 6 additions and 13 deletions
5
.gitmodules
vendored
5
.gitmodules
vendored
|
@ -1,5 +0,0 @@
|
||||||
[submodule "projects/tmp"]
|
|
||||||
path = projects/tmp
|
|
||||||
url = git@kuhl-mann.de:lattice/charm_SF_data.git
|
|
||||||
datalad-id = 5f402163-77f2-470e-b6f1-64d7bf9f87d4
|
|
||||||
datalad-url = git@kuhl-mann.de:lattice/charm_SF_data.git
|
|
|
@ -49,7 +49,6 @@ bb_corrs: list = [
|
||||||
'f_1',
|
'f_1',
|
||||||
'F1ll',
|
'F1ll',
|
||||||
'k_1',
|
'k_1',
|
||||||
'K_1',
|
|
||||||
'F_AA_a',
|
'F_AA_a',
|
||||||
'F_AA_d',
|
'F_AA_d',
|
||||||
'F_AdP_a',
|
'F_AdP_a',
|
||||||
|
@ -66,7 +65,6 @@ bb_corrs: list = [
|
||||||
|
|
||||||
bib_corrs: list = [
|
bib_corrs: list = [
|
||||||
'F_V0',
|
'F_V0',
|
||||||
'K_V0',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
corr_types: dict[str, str] = {}
|
corr_types: dict[str, str] = {}
|
||||||
|
|
|
@ -29,11 +29,12 @@ def replace_in_meas(measurements: dict, vars: dict[str, str]):
|
||||||
for name, value in vars.items():
|
for name, value in vars.items():
|
||||||
for m in measurements.keys():
|
for m in measurements.keys():
|
||||||
for key in measurements[m].keys():
|
for key in measurements[m].keys():
|
||||||
if isinstance(measurements[m][key], str):
|
measurements[m][key] = replace_string(measurements[m][key], name, value)
|
||||||
measurements[m][key] = replace_string(measurements[m][key], name, value)
|
# replace ensemble name
|
||||||
elif isinstance(measurements[m][key], list):
|
for m in measurements.keys():
|
||||||
for i in range(len(measurements[m][key])):
|
for key in measurements[m].keys():
|
||||||
measurements[m][key][i] = replace_string(measurements[m][key][i], name, value)
|
if not key == 'ensemble':
|
||||||
|
measurements[m][key] = replace_string(measurements[m][key], 'ensemble', measurements[m]['ensemble'])
|
||||||
return measurements
|
return measurements
|
||||||
|
|
||||||
def fill_cons(measurements, constants):
|
def fill_cons(measurements, constants):
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 216fe4ed3467ed486390735f8072856cf3d0a409
|
|
Loading…
Add table
Add a link
Reference in a new issue