changeset 15:5f39d3ef5fe3 draft

planemo upload commit 45108c8cbeeccab12031bbf6e65f1177222d4e10
author proteore
date Wed, 17 Apr 2019 10:33:31 -0400
parents 3f9ba522bfe8
children f75c525e0a4a
files data_manager/resource_building.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data_manager/resource_building.py	Wed Apr 17 10:23:25 2019 -0400
+++ b/data_manager/resource_building.py	Wed Apr 17 10:33:31 2019 -0400
@@ -562,7 +562,7 @@
                 nb_domains+=1
              #   print "nb domains ++"
               #  print (nb_domains)
-        nextprot_file.clear()
+        nextprot_file[:] = [] 
         nextprot_file.append([id,mass_mol,str(seq_length),iso_elec_point,chr_loc,all_subcell_locs,all_diseases,str(nb_domains),protein_existence])
         writer.writerows(nextprot_file)