Mercurial > hg > webaudioevaluationtool
changeset 2882:033027759cf7
Merge branch 'hot_fix' into vnext
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Mon, 26 Jun 2017 11:59:39 +0100 |
parents | 97a52e326464 (current diff) 47f187d4fc71 (diff) |
children | 632ccfeab95a 446f344eaa50 |
files | js/core.js |
diffstat | 10 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/js/core.js Tue May 09 16:11:11 2017 +0100 +++ b/js/core.js Mon Jun 26 11:59:39 2017 +0100 @@ -1198,9 +1198,9 @@ // First extract those excluded from picking process var picked = []; - pool.forEach(function (e) { + pool.forEach(function (e, i) { if (e.alwaysInclude) { - picked.push(e); + picked.push(pool.splice(i, 1)[0]); } });
--- a/python/score_parser.py Tue May 09 16:11:11 2017 +0100 +++ b/python/score_parser.py Mon Jun 26 11:59:39 2017 +0100 @@ -85,7 +85,7 @@ audioElement = page.find("./audioelement/[@ref='"+ fragmentname+ "']") # Get the element for value in audioElement.findall('./value'): axisName = value.get('interface-name') - if axisName == None: + if axisName == None or axisName == "null": axisName = 'default' axisStore = storage[page_name]['axis'][axisName] if hasattr(value, 'text'):