mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01: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):
|
||||
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')
|
||||
result = []
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue