mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
input misc adjusted to new bookkeeping system
This commit is contained in:
parent
d873896f31
commit
2a4070e6a1
1 changed files with 6 additions and 1 deletions
|
@ -118,9 +118,14 @@ def read_pbp(path, prefix, **kwargs):
|
||||||
for k in range(nrw):
|
for k in range(nrw):
|
||||||
deltas[k].append(tmp_array[k][r_start[rep]:r_stop[rep]])
|
deltas[k].append(tmp_array[k][r_start[rep]:r_stop[rep]])
|
||||||
|
|
||||||
|
rep_names = []
|
||||||
|
for entry in ls:
|
||||||
|
truncated_entry = entry.split('.')[0]
|
||||||
|
idx = truncated_entry.index('r')
|
||||||
|
rep_names.append(truncated_entry[:idx] + '|' + truncated_entry[idx:])
|
||||||
print(',', nrw, r'<bar{psi}\psi> with', nsrc, 'sources')
|
print(',', nrw, r'<bar{psi}\psi> with', nsrc, 'sources')
|
||||||
result = []
|
result = []
|
||||||
for t in range(nrw):
|
for t in range(nrw):
|
||||||
result.append(Obs(deltas[t], [(w.split('.'))[0] for w in ls]))
|
result.append(Obs(deltas[t], rep_names))
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue