mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-15 12:03:42 +02:00
docs: input/hadrons unevenly spaced exception text more detailed.
This commit is contained in:
parent
7489e316b9
commit
e413bcefbc
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ def _get_files(path, filestem, idl):
|
||||||
idx = idl
|
idx = idl
|
||||||
warnings.warn("Configurations are not evenly spaced.", RuntimeWarning)
|
warnings.warn("Configurations are not evenly spaced.", RuntimeWarning)
|
||||||
else:
|
else:
|
||||||
raise Exception("Configurations are not evenly spaced.")
|
raise Exception("Configurations are not evenly spaced. Provide an idl if you want to proceed with this set of configurations.")
|
||||||
|
|
||||||
return filtered_files, idx
|
return filtered_files, idx
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue