Commit dc7ee8a1 authored by Daniel Brown's avatar Daniel Brown
Browse files

mend

updating version number
parent 9389f164
...@@ -3,7 +3,7 @@ from __future__ import division ...@@ -3,7 +3,7 @@ from __future__ import division
from __future__ import print_function from __future__ import print_function
from __future__ import unicode_literals 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 # This flag is used to switch on the gui features in pkat at import time
USE_GUI = False USE_GUI = False
......
...@@ -246,7 +246,7 @@ class beam(Detector1): ...@@ -246,7 +246,7 @@ class beam(Detector1):
if len(values) == 3: if len(values) == 3:
return beam(values[1], node, alternate_beam=alt_beam) return beam(values[1], node, alternate_beam=alt_beam)
elif len(values) == 4: 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: else:
raise pkex.BasePyKatException('Beam detector code "{0}" is not a valid FINESSE command'.format(text)) raise pkex.BasePyKatException('Beam detector code "{0}" is not a valid FINESSE command'.format(text))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment