obi stats: result display is now sorted
This commit is contained in:
@ -244,7 +244,9 @@ def run(config):
|
|||||||
"\t count" + \
|
"\t count" + \
|
||||||
"\t total"
|
"\t total"
|
||||||
print(hcat)
|
print(hcat)
|
||||||
for c in catcount:
|
sorted_stats = sorted(catcount.items(), key = lambda kv:(kv[1], kv[0]), reverse=True)
|
||||||
|
for i in range(len(sorted_stats)):
|
||||||
|
c = sorted_stats[i][0]
|
||||||
for v in c:
|
for v in c:
|
||||||
print(pcat % str(v)+"\t", end="")
|
print(pcat % str(v)+"\t", end="")
|
||||||
for m in config['stats']['minimum']:
|
for m in config['stats']['minimum']:
|
||||||
|
Reference in New Issue
Block a user