Browse files

* added header

  • Loading branch information...
1 parent eab1958 commit 13367b4de12cd50421a5a419370d438537767098 @whym committed Mar 13, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 utils/merge_query_results.py
View
2 utils/merge_query_results.py
@@ -86,7 +86,9 @@ def chart(entries, output, legends, meta):
for (i,r) in enumerate(ranks):
a[i] = x[1][r]
x[1] = a
+ options.inputs = [x[1] for x in sorted(zip(ranks, options.inputs), key=lambda x: x[0])]
+ writer.writerow(['#']+options.inputs)
for ent in entries:
writer.writerow([ent[0]] + ent[1])

0 comments on commit 13367b4

Please sign in to comment.