Mercurial > repos > proteore > proteore_data_manager
diff data_manager/resource_building.py @ 27:9a400ce8e4e6 draft
planemo upload commit bb113d19d3a756f70784e6a1433902888686ed96-dirty
| author | proteore |
|---|---|
| date | Fri, 17 May 2019 04:09:47 -0400 |
| parents | bf6940ff60a8 |
| children | 808c8493ed4f |
line wrap: on
line diff
--- a/data_manager/resource_building.py Thu May 16 07:29:01 2019 -0400 +++ b/data_manager/resource_building.py Fri May 17 04:09:47 2019 -0400 @@ -499,10 +499,10 @@ dico['protein_name']=dico_protein_name #writing output - output_file = species+'_'+interactome+'_'+ time.strftime("%d-%m-%Y") + ".json" + output_file = species+'_'+interactome+'_'+ time.strftime("%Y-%m-%d") + ".json" path = os.path.join(target_directory,output_file) name = species+" ("+species_dict[species]+") "+time.strftime("%d/%m/%Y") - release = species+"_"+interactome+"_"+ time.strftime("%d-%m-%Y") + release = species+"_"+interactome+"_"+ time.strftime("%Y-%m-%d") id = str(10000000000 - int(time.strftime("%Y%m%d"))) with open(path, 'w') as handle:
