mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
fix: splitting at '.' removed from auto detection of replica names in
openQCD.read_rwms
This commit is contained in:
parent
5ee975dc44
commit
ab8e3ce549
1 changed files with 0 additions and 1 deletions
|
@ -97,7 +97,6 @@ def read_rwms(path, prefix, version='2.0', names=None, **kwargs):
|
|||
for suffix in suffixes:
|
||||
if truncated_entry.endswith(suffix):
|
||||
truncated_entry = truncated_entry[0:-len(suffix)]
|
||||
truncated_entry = entry.split('.')[0]
|
||||
idx = truncated_entry.index('r')
|
||||
rep_names.append(truncated_entry[:idx] + '|' + truncated_entry[idx:])
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue