Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
juga
sbws
Commits
73c67f4b
Commit
73c67f4b
authored
Oct 15, 2018
by
juga
Browse files
Remove classmethod to compare min_num results
parent
c6ba10cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
sbws/lib/v3bwfile.py
View file @
73c67f4b
...
...
@@ -321,12 +321,6 @@ class V3BWLine(object):
bw_line
=
cls
(
node_id
,
bw
,
**
kwargs
)
return
bw_line
@
staticmethod
def
min_num_results
(
results
,
min_num
=
0
):
if
len
(
results
)
>
min_num
:
return
results
return
None
@
staticmethod
def
results_away_each_other
(
results
,
secs_away
=
None
):
if
secs_away
is
None
or
len
(
results
)
<
2
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment