From cdbb93dba8e3605ddb1a7fd8af8af180bdeb70bd Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Wed, 22 Nov 2023 18:13:18 +0100 Subject: [PATCH] [fix] fixed how the filestem is extracted in hadrons/read_hdf5. --- pyerrors/input/hadrons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyerrors/input/hadrons.py b/pyerrors/input/hadrons.py index 5b65f3c6..4390e3f0 100644 --- a/pyerrors/input/hadrons.py +++ b/pyerrors/input/hadrons.py @@ -88,7 +88,7 @@ def read_hd5(filestem, ens_id, group, attrs=None, idl=None, part="real"): path_obj = Path(filestem) path = path_obj.parent.as_posix() - filestem = path_obj.stem + filestem = path_obj.name files, idx = _get_files(path, filestem, idl)