Commit 0a39c61a authored by Daniel Brown's avatar Daniel Brown
Browse files

adding error message if fsig param not found

parent e262d9f7
......@@ -1044,6 +1044,7 @@ class kat(object):
raise pkex.BasePyKatException("'{0}' isnot a valid fsig command".format(line))
self.signals.f = freq
param = None
if param_name is None:
param = comp._default_fsig()
......@@ -1052,8 +1053,10 @@ class kat(object):
if p.canFsig and p.fsigName == param_name:
param = p
break
if param is None:
raise pkex.BasePyKatException("Line: '{0}': {1} is not a valid fsig target for {2}".format(line, param_name, comp.name))
self.signals.apply(param, amp, phase, name)
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment