# HG changeset patch # User stevecassidy # Date 1481179581 18000 # Node ID 4d575b4b28d20252560a1f769ec3ec5b9390584d # Parent e2989a1d751d6a2498bc1f880ae80cb3ba04999a planemo upload commit 2acf1e5f5efe0ee3ef51a611a3f7c94ce73d3b89-dirty diff -r e2989a1d751d -r 4d575b4b28d2 austalk-select-hVd-words.py --- 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():