diff options
Diffstat (limited to 'data/ref_results/compute_suite.py')
-rw-r--r-- | data/ref_results/compute_suite.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/ref_results/compute_suite.py b/data/ref_results/compute_suite.py index bcaf83c8..7154183c 100644 --- a/data/ref_results/compute_suite.py +++ b/data/ref_results/compute_suite.py @@ -34,7 +34,7 @@ l = len(compute_bench_list) temp = 0 for benchmark in compute_bench_list: try: - temp = temp + float(compute_dict[benchmark]['1. Index']) + temp = temp + float(compute_dict[benchmark]['index']) except KeyError: l = l - 1 pass @@ -45,6 +45,6 @@ else: compute_suite_index = temp / l compute_dict_f = {} compute_dict_f['index'] = compute_suite_index - compute_dict_f['suite results'] = compute_dict + compute_dict_f['suite_results'] = compute_dict with open('../../results/compute_result.json', 'w+') as result_json: json.dump(compute_dict_f, result_json, indent=4, sort_keys=True) |