Mercurial > repos > trinity_ctat > ctat_centrifuge_index_data_manager
changeset 2:4a875781a22a draft
Uploaded
author | trinity_ctat |
---|---|
date | Mon, 23 Apr 2018 15:34:14 -0400 |
parents | aba2df3d8f9e |
children | 740976c497d5 |
files | data_manager/add_ctat_centrifuge_index.py |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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.