Mercurial > repos > trinity_ctat > ctat_centrifuge_index_data_manager
changeset 13:6e4c3733a37f draft
Uploaded
author | trinity_ctat |
---|---|
date | Mon, 23 Apr 2018 17:04:42 -0400 |
parents | 55edf28e49e2 |
children | 0db430a54489 |
files | data_manager/add_ctat_centrifuge_index.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/data_manager/add_ctat_centrifuge_index.py Mon Apr 23 16:55:30 2018 -0400 +++ b/data_manager/add_ctat_centrifuge_index.py Mon Apr 23 17:04:42 2018 -0400 @@ -76,15 +76,15 @@ print "\t" + "\n\t".join(filelist_parser.filenames) # Instead of sending back the list of found URL's, send back the one URL we want. # But the selection interface chokes on a single value, so send two of the same item. - vals=set() + #vals=set() #vals.add("one") #vals.add("two") # vals.add(_CTAT_CentrifugeDownload_URL) - vals.add(dict(value="1", name="one")) - vals.add(dict(value="2", name="two")) + vals = [dict(value="1", name="one"), dict(value="2", name="two")] print "The items in vals are:" print "\t" + "\n\t".join(vals) - return tuple(vals) + return vals + # return tuple(vals) # return tuple(filelist_parser.filenames) # return ("one","two") # only prints 'o' and 't'.