mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
fix: small bug in input.hadrons._get_files fixed.
This commit is contained in:
parent
c852de0688
commit
07a6bb8a9d
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ def _get_files(path, filestem, idl):
|
|||
ls = os.listdir(path)
|
||||
|
||||
# Clean up file list
|
||||
files = list(filter(lambda x: x.startswith(filestem), ls))
|
||||
files = list(filter(lambda x: x.startswith(filestem + "."), ls))
|
||||
|
||||
if not files:
|
||||
raise Exception('No files starting with', filestem, 'in folder', path)
|
||||
|
|
Loading…
Add table
Reference in a new issue