# HG changeset patch # User trinity_ctat # Date 1524512054 14400 # Node ID 4a875781a22a98d2a79c68129ed1fe4371b8c17e # Parent aba2df3d8f9ec1b45d46543a7c51b234fcebc291 Uploaded diff -r aba2df3d8f9e -r 4a875781a22a data_manager/add_ctat_centrifuge_index.py --- a/data_manager/add_ctat_centrifuge_index.py Mon Apr 23 15:17:33 2018 -0400 +++ b/data_manager/add_ctat_centrifuge_index.py Mon Apr 23 15:34:14 2018 -0400 @@ -66,11 +66,17 @@ # return a tuple of the filenames # return tuple(filelist_parser.filenames) # For now, I am printing the list, just so I can see what was returned, + # This is what was returned on 2018-04-23 + # ftp://ftp.ccb.jhu.edu/pub/infphilo/centrifuge/data/p_compressed_2018_4_15.tar.gz + # ftp://ftp.ccb.jhu.edu/pub/infphilo/centrifuge/data/nt_2018_3_3.tar.gz + # ftp://ftp.ccb.jhu.edu/pub/infphilo/centrifuge/data/p_compressed+h+v.tar.gz + # ftp://ftp.ccb.jhu.edu/pub/infphilo/centrifuge/data/p+h+v.tar.gz # but only returning the one we want, which for now is assumed to be present. print "FYI: The URL's that were found on Centrifuge's page are:" 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. - return tuple(_CTAT_CentrifugeDownload_URL,) + # But the selection interface chokes on a single value, so send two of the same item. + return tuple(_CTAT_CentrifugeDownload_URL,_CTAT_CentrifugeDownload_URL) # The following was used by the example program to get input parameters through the json. # Just leaving here for reference.