fix: small bug in input.hadrons._get_files fixed.

This commit is contained in:
Fabian Joswig 2022-05-12 10:54:07 +01:00
parent c852de0688
commit 07a6bb8a9d

View file

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