Commit 01cb75fa authored by Sean Leavey's avatar Sean Leavey

Merge branch 'master' into feature/cli

parents 07a37910 ab849208
......@@ -1493,6 +1493,7 @@ class modulator(Component):
value = float(value)
if not value.is_integer():
raise pkex.BasePyKatException("modulator order must be an integer between 1 and 6 or 's' for single sideband")
value = int(value)
if value <= 1 and value > 6:
raise pkex.BasePyKatException("modulator order must be between 1 and 6 or 's' for single sideband")
......
Markdown is supported
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