changeset 57:f6be67154ebb draft

Uploaded
author trinity_ctat
date Tue, 06 Nov 2018 14:51:39 -0500
parents 57f0701de47e
children 1c7d26862e9a
files data_manager/add_ctat_resource_lib.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/data_manager/add_ctat_resource_lib.py	Tue Nov 06 14:47:43 2018 -0500
+++ b/data_manager/add_ctat_resource_lib.py	Tue Nov 06 14:51:39 2018 -0500
@@ -1564,12 +1564,13 @@
                 # The line is not a comment, so parse it.
                 items = [item.strip() for item in line.split("\t")]
                 print items
-            #    data_table_entry = dict(value=items[0], name=items[1], code=items[2], date=items[3])
-            #    data_manager_dict['data_tables']['ctat_cravat_tissues'].append(data_table_entry)
+                data_table_entry = dict(value=items[0], name=items[1], code=items[2], date=items[3])
+                data_manager_dict['data_tables']['ctat_cravat_tissues'].append(data_table_entry)
 
     # Temporarily the output file's dictionary is written for debugging:
     print "The dictionary for the output file is:\n\t{:s}".format(str(data_manager_dict))
     sys.stdout.flush()
+    exit 1
     # Save info to json file. This is used to transfer data from the DataManager tool, to the data manager,
     # which then puts it into the correct .loc file (I think).
     # One can comment out the following line when testing without galaxy package.