Mercurial > repos > proteore > proteore_data_manager
changeset 16:f75c525e0a4a draft
planemo upload commit 04868e380c43447fac1309fc292785d67863a87b-dirty
| author | proteore |
|---|---|
| date | Thu, 02 May 2019 09:04:06 -0400 |
| parents | 5f39d3ef5fe3 |
| children | e785cc7f1ac0 |
| files | data_manager/resource_building.py data_manager/resource_building.xml |
| diffstat | 2 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/data_manager/resource_building.py Wed Apr 17 10:33:31 2019 -0400 +++ b/data_manager/resource_building.py Thu May 02 09:04:06 2019 -0400 @@ -505,13 +505,10 @@ output_file = 'nextprot_ref_'+ time.strftime("%d-%m-%Y") + ".tsv" path = os.path.join(target_directory,output_file) name = "neXtProt release "+time.strftime("%d-%m-%Y") - id = "nextprot_ref_"+time.strftime("%d-%m-%Y") - + release_id = "nextprot_ref_"+time.strftime("%d-%m-%Y") output = open(path, 'w') writer = csv.writer(output,delimiter="\t") - - nextprot_file=[["NextprotID","MW","SeqLength","IsoPoint","Chr","SubcellLocations","Diseases","TMDomains","ProteinExistence"]] writer.writerows(nextprot_file) @@ -566,7 +563,7 @@ 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=id, name = name, value = path) + data_table_entry = dict(id=release_id, name = name, value = path) _add_data_table_entry(data_manager_dict, data_table_entry, "proteore_nextprot_ref") #######################################################################################################
--- a/data_manager/resource_building.xml Wed Apr 17 10:33:31 2019 -0400 +++ b/data_manager/resource_building.xml Thu May 02 09:04:06 2019 -0400 @@ -1,4 +1,4 @@ -<tool id="data_manager_proteore" name="Get source files for proteore tools" version="2019.04.17" tool_type="manage_data"> +<tool id="data_manager_proteore" name="Get source files for proteore tools" version="2019.05.01" tool_type="manage_data"> <description> to create or update reference files for proteore tools </description>
