docs: input/hadrons unevenly spaced exception text more detailed.

This commit is contained in:
Fabian Joswig 2022-10-24 11:23:25 +01:00
parent 7489e316b9
commit e413bcefbc
No known key found for this signature in database

View file

@ -50,7 +50,7 @@ def _get_files(path, filestem, idl):
idx = idl
warnings.warn("Configurations are not evenly spaced.", RuntimeWarning)
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