Mercurial > repos > proteore > proteore_data_manager
comparison data_manager/resource_building.py @ 15:5f39d3ef5fe3 draft
planemo upload commit 45108c8cbeeccab12031bbf6e65f1177222d4e10
| author | proteore |
|---|---|
| date | Wed, 17 Apr 2019 10:33:31 -0400 |
| parents | 3f9ba522bfe8 |
| children | f75c525e0a4a |
comparison
equal
deleted
inserted
replaced
| 14:3f9ba522bfe8 | 15:5f39d3ef5fe3 |
|---|---|
| 560 for tm in tm_domains : | 560 for tm in tm_domains : |
| 561 all_tm_domains.add(tm['cvTermName']) | 561 all_tm_domains.add(tm['cvTermName']) |
| 562 nb_domains+=1 | 562 nb_domains+=1 |
| 563 # print "nb domains ++" | 563 # print "nb domains ++" |
| 564 # print (nb_domains) | 564 # print (nb_domains) |
| 565 nextprot_file.clear() | 565 nextprot_file[:] = [] |
| 566 nextprot_file.append([id,mass_mol,str(seq_length),iso_elec_point,chr_loc,all_subcell_locs,all_diseases,str(nb_domains),protein_existence]) | 566 nextprot_file.append([id,mass_mol,str(seq_length),iso_elec_point,chr_loc,all_subcell_locs,all_diseases,str(nb_domains),protein_existence]) |
| 567 writer.writerows(nextprot_file) | 567 writer.writerows(nextprot_file) |
| 568 | 568 |
| 569 data_table_entry = dict(id=id, name = name, value = path) | 569 data_table_entry = dict(id=id, name = name, value = path) |
| 570 _add_data_table_entry(data_manager_dict, data_table_entry, "proteore_nextprot_ref") | 570 _add_data_table_entry(data_manager_dict, data_table_entry, "proteore_nextprot_ref") |
