Commit 05e0a752 authored by Daniel Brown's avatar Daniel Brown

fixing offset.value usage

parent 6db85759
......@@ -175,7 +175,7 @@ def error_signals(_kat, xlimits=[-1,1], DOFs=None, plotDOFs=None,
# Get a lock offset if used
if (d.name + '_lock') in _kat.commands:
DC_Offset = _kat.commands[d.name + '_lock'].offset.value
DC_Offset = _kat.commands[d.name + '_lock'].offset
if DC_Offset is None:
DC_Offset = 0
......
......@@ -170,7 +170,7 @@ def error_signals(_kat, xlimits=[-1,1], DOFs=None, plotDOFs=None,
# Get a lock offset if used
if (d.name + '_lock') in _kat.commands:
DC_Offset = _kat.commands[d.name + '_lock'].offset.value
DC_Offset = _kat.commands[d.name + '_lock'].offset
if DC_Offset is None:
DC_Offset = 0
......
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