Mercurial > hg > webaudioevaluationtool
comparison python/timeline_view.py @ 2281:185232d01324
Change all instances of 'metricResult' to 'metricresult'
author | Brecht De Man <b.deman@qmul.ac.uk> |
---|---|
date | Wed, 20 Apr 2016 21:41:49 +0200 |
parents | 3004c6a5665c |
children |
comparison
equal
deleted
inserted
replaced
2279:17b7ab4f93f2 | 2281:185232d01324 |
---|---|
100 if audioelement is not None: # Check it exists | 100 if audioelement is not None: # Check it exists |
101 audio_id = str(audioelement.get('ref')) | 101 audio_id = str(audioelement.get('ref')) |
102 audioelements_names.append(audio_id) | 102 audioelements_names.append(audio_id) |
103 | 103 |
104 # for this audioelement, loop over all listen events | 104 # for this audioelement, loop over all listen events |
105 listen_events = audioelement.findall("./metric/metricResult/[@name='elementListenTracker']/event") | 105 listen_events = audioelement.findall("./metric/metricresult/[@name='elementListenTracker']/event") |
106 for event in listen_events: | 106 for event in listen_events: |
107 # mark this plot as not empty | 107 # mark this plot as not empty |
108 plot_empty = False | 108 plot_empty = False |
109 | 109 |
110 # get testtime: start and stop | 110 # get testtime: start and stop |