Mercurial > repos > stevecassidy > alveoimport
changeset 11:4d575b4b28d2 draft
planemo upload commit 2acf1e5f5efe0ee3ef51a611a3f7c94ce73d3b89-dirty
author | stevecassidy |
---|---|
date | Thu, 08 Dec 2016 01:46:21 -0500 |
parents | e2989a1d751d |
children | c99e7f09ce12 |
files | austalk-select-hVd-words.py |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/austalk-select-hVd-words.py Wed Dec 07 19:09:55 2016 -0500 +++ b/austalk-select-hVd-words.py Thu Dec 08 01:46:21 2016 -0500 @@ -71,7 +71,11 @@ with open(output, 'w') as out: out.write("Speaker\tPrompt\tItemURL\n") for item in items: - out.write(speakerid + "\t" + item[0] + "\t" + item[1] + "\n") + # TODO: fix this once the RDF data is fixed in alveo + # need to modify the item URL + itemurl = item[1].replace('http://id.austalk.edu.au/item/', 'https://app.alveo.edu.au/catalog/austalk/') + + out.write(speakerid + "\t" + item[0] + "\t" + itemurl + "\n") def main():