mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
Merge branch 'develop' into IndexGEVP
This commit is contained in:
commit
55342b819d
1 changed files with 0 additions and 5 deletions
|
@ -571,7 +571,6 @@ def _ol_from_dict(ind, reps='DICTOBS'):
|
||||||
counter = 0
|
counter = 0
|
||||||
|
|
||||||
def dict_replace_obs(d):
|
def dict_replace_obs(d):
|
||||||
nonlocal ol
|
|
||||||
nonlocal counter
|
nonlocal counter
|
||||||
x = {}
|
x = {}
|
||||||
for k, v in d.items():
|
for k, v in d.items():
|
||||||
|
@ -592,7 +591,6 @@ def _ol_from_dict(ind, reps='DICTOBS'):
|
||||||
return x
|
return x
|
||||||
|
|
||||||
def list_replace_obs(li):
|
def list_replace_obs(li):
|
||||||
nonlocal ol
|
|
||||||
nonlocal counter
|
nonlocal counter
|
||||||
x = []
|
x = []
|
||||||
for e in li:
|
for e in li:
|
||||||
|
@ -613,7 +611,6 @@ def _ol_from_dict(ind, reps='DICTOBS'):
|
||||||
return x
|
return x
|
||||||
|
|
||||||
def obslist_replace_obs(li):
|
def obslist_replace_obs(li):
|
||||||
nonlocal ol
|
|
||||||
nonlocal counter
|
nonlocal counter
|
||||||
il = []
|
il = []
|
||||||
for e in li:
|
for e in li:
|
||||||
|
@ -694,7 +691,6 @@ def _od_from_list_and_dict(ol, ind, reps='DICTOBS'):
|
||||||
|
|
||||||
def dict_replace_string(d):
|
def dict_replace_string(d):
|
||||||
nonlocal counter
|
nonlocal counter
|
||||||
nonlocal ol
|
|
||||||
x = {}
|
x = {}
|
||||||
for k, v in d.items():
|
for k, v in d.items():
|
||||||
if isinstance(v, dict):
|
if isinstance(v, dict):
|
||||||
|
@ -710,7 +706,6 @@ def _od_from_list_and_dict(ol, ind, reps='DICTOBS'):
|
||||||
|
|
||||||
def list_replace_string(li):
|
def list_replace_string(li):
|
||||||
nonlocal counter
|
nonlocal counter
|
||||||
nonlocal ol
|
|
||||||
x = []
|
x = []
|
||||||
for e in li:
|
for e in li:
|
||||||
if isinstance(e, list):
|
if isinstance(e, list):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue