mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 06:40:24 +01:00
[fix] fixed how the filestem is extracted in hadrons/read_hdf5.
This commit is contained in:
parent
fb17a46eb9
commit
cdbb93dba8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue