Index: bin/compare |
diff --git a/bin/compare b/bin/compare |
index e911f4a6c3db3021212b58a3a3ceb6c7d3558feb..f723c083c1a0ff89097ce0d77e0cb82c306f0788 100755 |
--- a/bin/compare |
+++ b/bin/compare |
@@ -9,9 +9,11 @@ a,b = {},{} |
for (path, d) in [(sys.argv[1], a), (sys.argv[2], b)]: |
for line in open(path): |
try: |
- tokens = line.split() |
- samples = tokens[:-1] |
- label = tokens[-1] |
+ tokens = line.split() |
+ if tokens[0] != "Samples:": |
+ continue |
+ samples = tokens[1:-1] |
+ label = tokens[-1] |
d[label] = map(float, samples) |
except: |
pass |