Commit 5fbe031d authored by Daniel Brown's avatar Daniel Brown
Browse files

retrace parsing wrong

parent df887d61
......@@ -285,10 +285,11 @@ class kat(object):
self.phase = int(v[1])
elif(first == "retrace"):
v = line.split(" ")
if len(v) != 2:
if len(v) > 2:
raise pkex.BasePyKatException("Retrace command `{0}` is incorrect.".format(line))
else:
self.retrace = int(v[1])
elif len(v) == 2:
self.retrace = v[1]
elif(first == "deriv_h"):
v = line.split(" ")
if len(v) != 2:
......
Supports Markdown
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