Implement configurable chanlimit and add more fields about LIST output to Redis
This commit is contained in:
@@ -86,7 +86,6 @@ class TestChanKeep(TestCase):
|
||||
# list_insig = [x for x in listinfo_num if x < mean]
|
||||
list_sig = [x for x in listinfo if x[1] > mean]
|
||||
chosen = sorted(list_sig, reverse=True, key=lambda x: x[1])[:max_chans]
|
||||
print("CHOSEN", chosen)
|
||||
self.assertEqual(len(chosen), 5)
|
||||
|
||||
@patch("modules.chankeep.keepChannels")
|
||||
|
||||
Reference in New Issue
Block a user