comparison data_manager/add_ctat_resource_lib.py @ 58:1c7d26862e9a draft

Uploaded
author trinity_ctat
date Tue, 06 Nov 2018 14:52:20 -0500
parents f6be67154ebb
children
comparison
equal deleted inserted replaced
57:f6be67154ebb 58:1c7d26862e9a
1568 data_manager_dict['data_tables']['ctat_cravat_tissues'].append(data_table_entry) 1568 data_manager_dict['data_tables']['ctat_cravat_tissues'].append(data_table_entry)
1569 1569
1570 # Temporarily the output file's dictionary is written for debugging: 1570 # Temporarily the output file's dictionary is written for debugging:
1571 print "The dictionary for the output file is:\n\t{:s}".format(str(data_manager_dict)) 1571 print "The dictionary for the output file is:\n\t{:s}".format(str(data_manager_dict))
1572 sys.stdout.flush() 1572 sys.stdout.flush()
1573 exit 1 1573 exit(1)
1574 # Save info to json file. This is used to transfer data from the DataManager tool, to the data manager, 1574 # Save info to json file. This is used to transfer data from the DataManager tool, to the data manager,
1575 # which then puts it into the correct .loc file (I think). 1575 # which then puts it into the correct .loc file (I think).
1576 # One can comment out the following line when testing without galaxy package. 1576 # One can comment out the following line when testing without galaxy package.
1577 open(args.output_filename, 'wb').write(to_json_string(data_manager_dict)) 1577 open(args.output_filename, 'wb').write(to_json_string(data_manager_dict))
1578 1578