Skip to content

Commit 728c2e5

Browse files
authored
[fix] fixed how the filestem is extracted in hadrons/read_hdf5. (#218)
1 parent fb17a46 commit 728c2e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyerrors/input/hadrons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def read_hd5(filestem, ens_id, group, attrs=None, idl=None, part="real"):
8888

8989
path_obj = Path(filestem)
9090
path = path_obj.parent.as_posix()
91-
filestem = path_obj.stem
91+
filestem = path_obj.name
9292

9393
files, idx = _get_files(path, filestem, idl)
9494

0 commit comments

Comments
 (0)