From 5b287e8a11f6fb5c81fde04bde299f4209a5b39f Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Mon, 30 Jan 2012 22:18:54 +0100 Subject: [PATCH] avg instead of min @prefix --- prefix/parseDat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prefix/parseDat.py b/prefix/parseDat.py index 7f690c5..bf5e860 100755 --- a/prefix/parseDat.py +++ b/prefix/parseDat.py @@ -92,7 +92,8 @@ for i in bigrunlist: uniquelist = [] for key in foolist: minval = min(foolist[key]) - uniquelist.append((key[0], key[1], key[2], minval)) + avgval = float(sum(foolist[key])) / len(foolist[key]) + uniquelist.append((key[0], key[1], key[2], avgval)) uniquelist.sort() alg_dict = {} sched_dict = {} -- 2.43.0