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

Forgot to add example input file

parent 566938a1
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !232. Comments created here will be created in the context of that merge request.
......@@ -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
1
0
0
0
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