From 2d7d04b3f98482af62019b186b485b4b5b6f947b Mon Sep 17 00:00:00 2001 From: Nauman_Ahad Date: Tue, 26 Jan 2016 21:07:03 +0500 Subject: Report Generation for QTIP Creates a PDF file for QTIP, along with a graph of results Change-Id: Iac66bf53cf8c41554d38e3a9d6cdfec236cff3ec Signed-off-by: Nauman_Ahad (cherry picked from commit fe7a87b73c2cbcceb101f3a78b16459e703cd6b7) --- data/report/get_indices.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 data/report/get_indices.py (limited to 'data/report/get_indices.py') diff --git a/data/report/get_indices.py b/data/report/get_indices.py new file mode 100644 index 00000000..e23fdb89 --- /dev/null +++ b/data/report/get_indices.py @@ -0,0 +1,8 @@ +import json + +def get_index(suite): + with open ('../../results/'+suite+'.json') as result_file: + result_djson=json.load(result_file) + index=result_djson['index'] + + return index -- cgit 1.2.3-korg