# HG changeset patch # User proteore # Date 1556802246 14400 # Node ID f75c525e0a4a6fef054a218a1935bb071c4a26d4 # Parent 5f39d3ef5fe35afcb21cb5f94b7450ec81b1284a planemo upload commit 04868e380c43447fac1309fc292785d67863a87b-dirty diff -r 5f39d3ef5fe3 -r f75c525e0a4a data_manager/resource_building.py --- 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") ####################################################################################################### diff -r 5f39d3ef5fe3 -r f75c525e0a4a data_manager/resource_building.xml --- 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 @@ - + to create or update reference files for proteore tools