Commit 519f217c authored by Ryan Herbert's avatar Ryan Herbert

sample_set.py 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', 'clones.item.top', 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
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment