Improved obi stats

This commit is contained in:
Celine Mercier
2019-08-29 15:18:26 +02:00
parent 3cfe3a9b00
commit dcf8cf1d64

View File

@ -244,7 +244,7 @@ def run(config):
"\t count" + \
"\t total"
print(hcat)
sorted_stats = sorted(catcount.items(), key = lambda kv:(kv[1], kv[0]), reverse=True)
sorted_stats = sorted(catcount.items(), key = lambda kv:(totcount[kv[0]]), reverse=True)
for i in range(len(sorted_stats)):
c = sorted_stats[i][0]
for v in c: