Chromium Code Reviews| Index: webrtc/modules/remote_bitrate_estimator/test/plot_dynamics.py |
| diff --git a/webrtc/modules/remote_bitrate_estimator/test/plot_dynamics.py b/webrtc/modules/remote_bitrate_estimator/test/plot_dynamics.py |
| old mode 100644 |
| new mode 100755 |
| index 1bae1e81f03b075814ae4031a491e3865302686a..3d79bccf99ec52132891a5f5c7bff3406d74d291 |
| --- a/webrtc/modules/remote_bitrate_estimator/test/plot_dynamics.py |
| +++ b/webrtc/modules/remote_bitrate_estimator/test/plot_dynamics.py |
| @@ -49,11 +49,14 @@ class Variable(object): |
| def addSample(self, line): |
| - groups = re.search(r'_(((\d)+((,(\d)+)*))_(\D+))#\d@(\S+)', line) |
| + if '#' not in line: |
| + return |
|
stefan-webrtc
2016/09/23 13:49:41
Is this still needed?
Gaetano Carlucci
2016/09/23 14:05:36
no. thanks
|
| + |
| + groups = re.search(r'_(((\d)+((,(\d)+)*))_(\D+))#\d:(\d)@(\S+)', line) |
| # Each variable will be plotted in a separated box. |
| var_name = groups.group(1) |
| - alg_name = groups.group(8) |
| + alg_name = groups.group(9) |
| alg_name = alg_name.replace('_', ' ') |