Skip to content
Snippets Groups Projects
Commit 885b0733 authored by Olle Hansson's avatar Olle Hansson
Browse files

Minor edit

parent 566938a1
No related branches found
No related tags found
1 merge request!232Guifilesignal
......@@ -183,7 +183,10 @@ class FromFile(SignalGenerator):
self._data = data
self._len = len(data)
except ValueError:
raise Exception("Selected input file is not of the right format.")
raise Exception(
"Selected input file is not of the right format, should be of filetype"
" .txt or .csv and contain single column input vector."
)
def __call__(self, time: int) -> complex:
if 0 <= time < self._len:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment