mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
fix: Output of Exception in input.hadrons corrected
This commit is contained in:
parent
d0072f5c7b
commit
26fd3fcb59
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ def _get_files(path, filestem, idl):
|
||||||
|
|
||||||
if idl:
|
if idl:
|
||||||
if Counter(list(idl)) != Counter(cnfg_numbers):
|
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
|
# Check that configurations are evenly spaced
|
||||||
dc = np.unique(np.diff(cnfg_numbers))
|
dc = np.unique(np.diff(cnfg_numbers))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue