# HG changeset patch # User trinity_ctat # Date 1524517482 14400 # Node ID 6e4c3733a37f4bc006b15aa867f1042517f3cf6a # Parent 55edf28e49e23e6f3178d4588119105f7f5459ef Uploaded diff -r 55edf28e49e2 -r 6e4c3733a37f data_manager/add_ctat_centrifuge_index.py --- 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'.