diff --git a/pykat/__init__.py b/pykat/__init__.py index 1147e02ce2903a56ba52a8ad3cddf641a958741c..d426115b597a005721ce4b6254a1a5b754fa7ee4 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.6" +__version__ = "0.8.8" # This flag is used to switch on the gui features in pkat at import time USE_GUI = False diff --git a/pykat/components.py b/pykat/components.py index f62916290e2f9560f410776cb65f3ecf76a5cc0f..c1ee2098354e07f9077174b6e236b154ac134fae 100644 --- a/pykat/components.py +++ b/pykat/components.py @@ -1094,7 +1094,7 @@ class modulator(Component): try: value = int(value) - print(value) + if value <= 1 and value > 6: raise pkex.BasePyKatException("modulator order must be between 1 and 6 or 's' for single sideband")