Skip to content
GitLab
Menu
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
89608943
Commit
89608943
authored
Jan 29, 2017
by
Daniel Brown
Browse files
Fixing python 2 split call error for getTraceData
parent
e29ae803
Pipeline
#1781
passed with stage
in 20 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
pykat/finesse.py
View file @
89608943
...
...
@@ -1841,7 +1841,7 @@ class kat(object):
traceData
[
-
1
][
node_name
]
=
(
pykat
.
BeamParam
(
q
=
complex
(
qx
),
wavelength
=
self
.
lambda0
),
pykat
.
BeamParam
(
q
=
complex
(
qy
),
wavelength
=
self
.
lambda0
),
component_name
)
direc
=
a
[
1
].
split
(
";"
)[
-
1
].
strip
().
split
(
maxsplit
=
1
)[
-
1
]
direc
=
a
[
1
].
split
(
";"
)[
-
1
].
strip
().
split
(
None
,
1
)[
-
1
]
traceData
[
-
1
][
node_name
][
0
].
direction
=
direc
traceData
[
-
1
][
node_name
][
1
].
direction
=
direc
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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