mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
fix: removed misleading warning in input.hadrons functions.
This commit is contained in:
parent
6258a4484e
commit
cc6e95e7a9
1 changed files with 0 additions and 1 deletions
|
@ -48,7 +48,6 @@ def _get_files(path, filestem, idl):
|
||||||
idx = range(cnfg_numbers[0], cnfg_numbers[-1] + dc[0], dc[0])
|
idx = range(cnfg_numbers[0], cnfg_numbers[-1] + dc[0], dc[0])
|
||||||
elif idl:
|
elif idl:
|
||||||
idx = idl
|
idx = idl
|
||||||
warnings.warn("Configurations are not evenly spaced.", RuntimeWarning)
|
|
||||||
else:
|
else:
|
||||||
raise Exception("Configurations are not evenly spaced. Provide an idl if you want to proceed with this set of configurations.")
|
raise Exception("Configurations are not evenly spaced. Provide an idl if you want to proceed with this set of configurations.")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue