Skip to content
Snippets Groups Projects
Commit d9f9af21 authored by Daniel Brown's avatar Daniel Brown
Browse files

more fixes

parent 6324b6f3
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,6 @@ ad ad1 0 n2
kat = finesse.kat(kat_code = code)
kat.add(xaxis("lin", [0, 360], kat.m2, kat.m2.phi, 1000))
kat.add(xaxis("lin", [0, 360], kat.m2, kat.m2.phi, 1000))
r = kat.run(printerr=1)
......
......@@ -413,7 +413,7 @@ class kat(object):
for obj in objs:
if isinstance(obj, str):
out.append(lines + '\n')
out.append(obj + '\n')
elif isinstance(obj, Component) or isinstance(obj, Detector) or isinstance(obj, Command):
txt = obj.getFinesseText()
......
......@@ -254,6 +254,6 @@ class Node(object):
class DumpNode(Node):
def __init__(self):
Node.__init__(self, 'dump', None)
Node.__init__(self, 'dump', None, -1)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment