diff id_converter.py @ 21:6e65e1c78705 draft default tip

"planemo upload commit 540dd383c0617193db43bf11457011888751b022-dirty"
author proteore
date Thu, 23 Jan 2020 08:43:51 -0500
parents 9d758344d36e
children
line wrap: on
line diff
--- a/id_converter.py	Fri Jun 28 05:12:40 2019 -0400
+++ b/id_converter.py	Thu Jan 23 08:43:51 2020 -0500
@@ -173,22 +173,15 @@
                 if len(ids_dictionary[id][ids_dictionary_index[other_id_type]]) > 1 and '' in ids_dictionary[id][ids_dictionary_index[other_id_type]] : 
                     ids_dictionary[id][ids_dictionary_index[other_id_type]].remove('')
 
-    #print ("dictionary created")
-
     #Get file and/or ids from input 
     if args.input_type == "list" :
         ids = get_input_ids_from_string(args.input)
     elif args.input_type == "file" :
         input_file, ids = get_input_ids_from_file(args.input,args.column_number,header)
 
-    #print ("starting mapping")
-
     #Mapping ids
     result_dict = map_to_dictionary(ids,ids_dictionary,args.id_type,target_ids)
 
-    #print ("mapping done")
-
-    #print ("creating output file")
     #creating output file 
     with open(args.output,"w") as output :
         writer = csv.writer(output,delimiter="\t")