Skip to content
GitLab
Menu
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
7f085e23
Commit
7f085e23
authored
Jun 14, 2018
by
Matt Traudt
Browse files
Remove unused member function
parent
87353045
Changes
1
Hide whitespace changes
Inline
Side-by-side
sbws/lib/v3bwfile.py
View file @
7f085e23
...
...
@@ -378,15 +378,6 @@ class V3BwFile(object):
def
avg_bw
(
self
):
return
self
.
total_bw
/
self
.
num_lines
@
classmethod
def
from_results
(
cls
,
conf
,
output
,
results
):
bw_lines
=
[
V3BWLine
.
from_results
(
results
[
fp
])
for
fp
in
results
]
bw_lines
=
sorted
(
bw_lines
,
key
=
lambda
d
:
d
.
bw
,
reverse
=
True
)
header
=
V3BwHeader
.
from_results
(
conf
,
results
)
f
=
cls
(
header
,
bw_lines
)
f
.
write
(
output
)
return
f
@
classmethod
def
from_arg_results
(
cls
,
args
,
conf
,
results
):
bw_lines
=
[
V3BWLine
.
from_results
(
results
[
fp
])
for
fp
in
results
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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