mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
[fix] fixed how the filestem is extracted in hadrons/read_hdf5. (#218)
This commit is contained in:
parent
fb17a46eb9
commit
728c2e55ee
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_obj = Path(filestem)
|
||||||
path = path_obj.parent.as_posix()
|
path = path_obj.parent.as_posix()
|
||||||
filestem = path_obj.stem
|
filestem = path_obj.name
|
||||||
|
|
||||||
files, idx = _get_files(path, filestem, idl)
|
files, idx = _get_files(path, filestem, idl)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue