changeset 10:25ce961f82e5 draft

Uploaded
author trinity_ctat
date Mon, 23 Apr 2018 16:33:50 -0400
parents 010c73cd396d
children 76403d65540c
files data_manager/add_ctat_centrifuge_index.py
diffstat 1 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/data_manager/add_ctat_centrifuge_index.py	Mon Apr 23 16:30:03 2018 -0400
+++ b/data_manager/add_ctat_centrifuge_index.py	Mon Apr 23 16:33:50 2018 -0400
@@ -76,13 +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) 
-    # print "The items in vals are:"
-    # print "\t" + "\n\t".join(vals)
-    # return tuple(vals)
+    print "The items in vals are:"
+    print "\t" + "\n\t".join(vals)
+    return tuple(vals)
     # return tuple(filelist_parser.filenames)
-    return ((1,"one"),(2,"two"))
+    # return ("one","two") # only prints 'o' and 't'.
 
 # The following was used by the example program to get input parameters through the json.
 # Just leaving here for reference.