Mercurial > hg > webaudioevaluationtool
changeset 2534:56847aaebc9b
Merge branch 'master' of https://github.com/BrechtDeMan/WebAudioEvaluationTool
author | www-data <www-data@sucuk.dcs.qmul.ac.uk> |
---|---|
date | Thu, 10 Nov 2016 14:22:54 +0000 |
parents | 829a67368dc4 (current diff) 370a82784c71 (diff) |
children | f775c27852e1 |
files | |
diffstat | 2 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/python/comment_parser.py Wed Nov 09 15:21:01 2016 +0000 +++ b/python/comment_parser.py Thu Nov 10 14:22:54 2016 +0000 @@ -9,7 +9,7 @@ # COMMAND LINE ARGUMENTS assert len(sys.argv)<3, "comment_parser takes at most 1 command line argument\n"+\ - "Use: python score_parser.py [rating_folder_location]" + "Use: python comment_parser.py [rating_folder_location]" # XML results files location if len(sys.argv) == 1: @@ -45,7 +45,7 @@ page_name = audioholder.get('ref') # get page name if page_name is None: # ignore 'empty' audio_holders - print("WARNING: " + file + " contains empty page. (comment_parser.py)") + print("WARNING: " + file + " contains empty page.") break if audioholder.get("state") != "complete":
--- a/python/evaluation_stats.py Wed Nov 09 15:21:01 2016 +0000 +++ b/python/evaluation_stats.py Thu Nov 10 14:22:54 2016 +0000 @@ -69,8 +69,7 @@ not_played = 0 # for this page not_moved = 0 # for this page - # 'testTime' keeps total duration: subtract time so far for duration of this page - duration = float(page.find("./metric/metricresult[@id='testTime']").text) - total_duration + duration = float(page.find("./metric/metricresult[@id='testTime']").text) #- total_duration # total duration of test total_duration += duration