From 728c2e55ee971da3e2675c4bb92c61872714fa9b Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Thu, 23 Nov 2023 13:34:07 +0100 Subject: [PATCH] [fix] fixed how the filestem is extracted in hadrons/read_hdf5. (#218) --- 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)