Maintenance will be performed on git.ligo.org, chat.ligo.org, and docs.ligo.org, starting at approximately 10am CDT Tuesday 20 August 2019. The maintenance is expected to take around an hour and here will be two short periods of downtime, one at the beginning of the maintenance and another at the end.

Commit ab849208 authored by Sean Leavey's avatar Sean Leavey

Convert to int

parent 48c3c3c8
......@@ -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