Skip to content

Commit

Permalink
fix: remove unused lines
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Mar 30, 2017
1 parent 86d58e3 commit dfa54bf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions qcodes/instrument_drivers/ZI/ZIUHFLI.py
Original file line number Diff line number Diff line change
Expand Up @@ -1451,8 +1451,6 @@ def offset_valid():
range_val = round(range_val, 3)
amp_val = params['signal_output{}_amplitude'.format(number+1)].get()
amp_val = round(amp_val, 3)
toget = params['signal_output{}_autorange'.format(number+1)]
autorange_val = toget.get()
if -range_val< value+amp_val > range_val:
raise ValueError('Signal Output: Offset too high for '
'chosen range.')
Expand Down

0 comments on commit dfa54bf

Please sign in to comment.