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:
Fabian Joswig 2022-11-18 16:30:28 +00:00
parent 89dbf3c08c
commit 7b740c03d4
No known key found for this signature in database

View file

@ -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):