Mercurial > repos > proteore > proteore_data_manager
diff data_manager/resource_building.py @ 24:6cbb76823b7b draft
planemo upload commit 3e8aad84b7fe9218370364b1aef3ea5779475f9f-dirty
| author | proteore |
|---|---|
| date | Fri, 10 May 2019 04:22:00 -0400 |
| parents | ebdd4961c6c2 |
| children | bf6940ff60a8 |
line wrap: on
line diff
--- a/data_manager/resource_building.py Thu May 09 05:28:22 2019 -0400 +++ b/data_manager/resource_building.py Fri May 10 04:22:00 2019 -0400 @@ -572,13 +572,15 @@ for tm in tm_domains : all_tm_domains.add(tm['cvTermName']) nb_domains+=1 - # print "nb domains ++" - # print (nb_domains) + #print "nb domains ++" + #print (nb_domains) 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) - data_table_entry = dict(id=release_id, name = name, value = path) + id = str(10000000000 - int(time.strftime("%Y%m%d"))) + + data_table_entry = dict(id=id, release=release_id, name = name, value = path) _add_data_table_entry(data_manager_dict, data_table_entry, "proteore_nextprot_ref") #######################################################################################################
