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
dc7ee8a1
Commit
dc7ee8a1
authored
Oct 07, 2015
by
Daniel Brown
Browse files
mend
updating version number
parent
9389f164
Changes
2
Show whitespace changes
Inline
Side-by-side
pykat/__init__.py
View file @
dc7ee8a1
...
...
@@ -3,7 +3,7 @@ from __future__ import division
from
__future__
import
print_function
from
__future__
import
unicode_literals
__version__
=
"0.8.
0
"
__version__
=
"0.8.
1
"
# This flag is used to switch on the gui features in pkat at import time
USE_GUI
=
False
...
...
pykat/detectors.py
View file @
dc7ee8a1
...
...
@@ -246,7 +246,7 @@ class beam(Detector1):
if
len
(
values
)
==
3
:
return
beam
(
values
[
1
],
node
,
alternate_beam
=
alt_beam
)
elif
len
(
values
)
==
4
:
return
beam
(
values
[
1
],
node
,
alternate_beam
=
alt_beam
,
frequency
=
pykat
.
SIfloat
.
SIfloat
(
values
[
2
]))
return
beam
(
values
[
1
],
node
,
alternate_beam
=
alt_beam
,
frequency
=
SIfloat
(
values
[
2
]))
else
:
raise
pkex
.
BasePyKatException
(
'Beam detector code "{0}" is not a valid FINESSE command'
.
format
(
text
))
...
...
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