flake8 fix
This commit is contained in:
parent
8b85376e9b
commit
c247303615
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ def interp(sig, t, tag=None):
|
||||||
# TODO: return function that interpolates the whole signal.
|
# TODO: return function that interpolates the whole signal.
|
||||||
sig = sig.project({tag})
|
sig = sig.project({tag})
|
||||||
idx = sig.data.bisect_right(t) - 1
|
idx = sig.data.bisect_right(t) - 1
|
||||||
if idx<0:
|
if idx < 0:
|
||||||
return None
|
return None
|
||||||
else:
|
else:
|
||||||
key = sig.data.keys()[idx]
|
key = sig.data.keys()[idx]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue