From 26fd3fcb5991dd12c1e1fe63b9c260d8c4c38a48 Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Thu, 27 Jan 2022 11:00:51 +0000 Subject: [PATCH] fix: Output of Exception in input.hadrons corrected --- pyerrors/input/hadrons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyerrors/input/hadrons.py b/pyerrors/input/hadrons.py index 6dfbfd3e..371d1525 100644 --- a/pyerrors/input/hadrons.py +++ b/pyerrors/input/hadrons.py @@ -35,7 +35,7 @@ def _get_files(path, filestem, idl): if idl: if Counter(list(idl)) != Counter(cnfg_numbers): - raise Exception("Not all configurations specified in idl found (" + str(list(Counter(list(idl)) - Counter(cnfg_numbers))) + "missing)") + raise Exception("Not all configurations specified in idl found, configurations " + str(list(Counter(list(idl)) - Counter(cnfg_numbers))) + " are missing.") # Check that configurations are evenly spaced dc = np.unique(np.diff(cnfg_numbers))