From dc7ee8a1f2130246c38b114468e14eb29503271e Mon Sep 17 00:00:00 2001 From: Daniel Brown <ddb@star.sr.bham.ac.uk> Date: Wed, 7 Oct 2015 14:00:55 +0100 Subject: [PATCH] mend updating version number --- pykat/__init__.py | 2 +- pykat/detectors.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pykat/__init__.py b/pykat/__init__.py index b21af87..420f930 100644 --- a/pykat/__init__.py +++ b/pykat/__init__.py @@ -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 diff --git a/pykat/detectors.py b/pykat/detectors.py index 6b8ce2f..2628531 100644 --- a/pykat/detectors.py +++ b/pykat/detectors.py @@ -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)) -- GitLab