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
Sebastian Steinlechner
pykat
Commits
5fbe031d
Commit
5fbe031d
authored
Dec 16, 2013
by
Daniel Brown
Browse files
retrace parsing wrong
parent
df887d61
Changes
1
Hide whitespace changes
Inline
Side-by-side
pykat/finesse.py
View file @
5fbe031d
...
...
@@ -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
:
...
...
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