fix: minor bug in input.hadrons.read_DistillationContraction_hd5 fixed.

This commit is contained in:
Fabian Joswig 2022-11-28 15:31:19 +00:00
parent bde7db4a4b
commit 6258a4484e
No known key found for this signature in database

View file

@ -142,6 +142,8 @@ def read_DistillationContraction_hd5(path, ens_id, diagrams=["direct"], idl=None
for explore_file in explore_path.iterdir():
if explore_file.is_file():
stem = explore_file.with_suffix("").with_suffix("").as_posix().split("/")[-1]
else:
continue
file_list = []
for dir in directories: