Fix indentation bug with flowchart
This commit is contained in:
parent
00a0ddb0d4
commit
38dccf8642
@ -160,10 +160,9 @@ class RegionSelectNode(CtrlNode):
|
|||||||
sliced = data[0:s['start']:s['stop']]
|
sliced = data[0:s['start']:s['stop']]
|
||||||
else:
|
else:
|
||||||
mask = (data['time'] >= s['start']) * (data['time'] < s['stop'])
|
mask = (data['time'] >= s['start']) * (data['time'] < s['stop'])
|
||||||
sliced = data[mask]
|
sliced = data[mask]
|
||||||
else:
|
else:
|
||||||
sliced = None
|
sliced = None
|
||||||
|
|
||||||
return {'selected': sliced, 'widget': self.items, 'region': region}
|
return {'selected': sliced, 'widget': self.items, 'region': region}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user