Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
finesse
pykat
Commits
d9f9af21
Commit
d9f9af21
authored
Dec 05, 2013
by
Daniel Brown
Browse files
more fixes
parent
6324b6f3
Changes
3
Hide whitespace changes
Inline
Side-by-side
bin/test_parser.py
View file @
d9f9af21
...
...
@@ -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
)
...
...
pykat/finesse.py
View file @
d9f9af21
...
...
@@ -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
()
...
...
pykat/node_network.py
View file @
d9f9af21
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment