Commit 519f217c authored by Ryan Herbert's avatar Ryan Herbert multi sample stats main clone name

only extract the name off the main clone.
parent 0354507e
......@@ -662,7 +662,7 @@ def getResultsFileStats(file_name, dest):
parser.addPrefix('clones.item', '', operator.eq, 1)
mjson = parser.extract(file_path)
dest['main_clone'] = json.loads(mjson)['clones'][0]
dest['main_clone'] = json.loads(mjson)['clones'][0]['name']
return dest
def getStatData(results_file_ids):
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment