changeset 4:c372930aaba1 draft

Uploaded
author trinity_ctat
date Tue, 01 May 2018 13:49:00 -0400
parents d5f99ab85747
children 7f1257532b6f
files data_manager/add_ctat_resource_lib.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/data_manager/add_ctat_resource_lib.py	Tue May 01 13:32:58 2018 -0400
+++ b/data_manager/add_ctat_resource_lib.py	Tue May 01 13:49:00 2018 -0400
@@ -83,6 +83,8 @@
             # The mouse genome option is not handled correctly yet
             options.append((filename, url, i == 0))
     # return a tuple of the urls
+    print "The list being returned as options is:"
+    print "{:s}\n".format(str(options))
     return options
 
 # The following was used by the example program to get input parameters through the json.
@@ -124,6 +126,8 @@
     #     Since it doesn't always do the download, the function returns whether download occurred.
     lib_was_downloaded = False
     
+    print "In download_from_BroadInst(). The source_url is:\n\t{:s}".format(str(source))
+
     # Get the root filename of the Genome Directory.
     src_filename = source.split("/")[-1]
     root_genome_dirname = src_filename.split(".")[0]
@@ -401,6 +405,8 @@
     # target_directory = params['output_data'][0]['extra_files_path']
     # os.mkdir(target_directory)
 
+    print "The value of source_url argument is:\n\t{:s}".format(str(args.source_url))
+
     # FIX - not sure the lib_was_downloaded actually serves a purpose...
     lib_was_downloaded = False
     download_has_source_data = False