mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
fix: bug in reading of flow observables fixed which appeared when
specifying names. The files detected files were *not* alphabetically ordered so a wrong naming could happen in case one specifies names explicitly.
This commit is contained in:
parent
89dbf3c08c
commit
7b740c03d4
1 changed files with 2 additions and 0 deletions
|
@ -723,6 +723,8 @@ def _read_flow_obs(path, prefix, c, dtr_cnfg=1, version="openQCD", obspos=0, sum
|
|||
if fnmatch.fnmatch(f, prefix + "*" + postfix):
|
||||
files.append(f)
|
||||
|
||||
files = sorted(files)
|
||||
|
||||
if 'r_start' in kwargs:
|
||||
r_start = kwargs.get('r_start')
|
||||
if len(r_start) != len(files):
|
||||
|
|
Loading…
Add table
Reference in a new issue