From 6258a4484e8f1ab861360d6f2630ca46405824dd Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Mon, 28 Nov 2022 15:31:19 +0000 Subject: [PATCH] fix: minor bug in input.hadrons.read_DistillationContraction_hd5 fixed. --- pyerrors/input/hadrons.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyerrors/input/hadrons.py b/pyerrors/input/hadrons.py index 0f967423..3d7ab99b 100644 --- a/pyerrors/input/hadrons.py +++ b/pyerrors/input/hadrons.py @@ -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: