Mercurial > repos > proteore > proteore_data_manager
diff data_manager/resource_building.py @ 23:ebdd4961c6c2 draft
planemo upload commit 03015f58ac7e7ba3cc44ba0d8899eacfaaf5a134-dirty
| author | proteore |
|---|---|
| date | Thu, 09 May 2019 05:28:22 -0400 |
| parents | 4296fb613d9d |
| children | 6cbb76823b7b |
line wrap: on
line diff
--- a/data_manager/resource_building.py Tue May 07 10:29:13 2019 -0400 +++ b/data_manager/resource_building.py Thu May 09 05:28:22 2019 -0400 @@ -244,7 +244,7 @@ name_dict={"Human" : "Homo sapiens", "Mouse" : "Mus musculus", "Rat" : "Rattus norvegicus"} name = species +" (" + name_dict[species]+" "+time.strftime("%d/%m/%Y")+")" release = species+"_id_mapping_"+ time.strftime("%d-%m-%Y") - id = str(10000000000 - int(time.strftime("%d%m%Y"))) #new ids must be inferior to previous id -> sort by <filter> in xml only in descending order + id = str(10000000000 - int(time.strftime("%Y%m%d"))) #new ids must be inferior to previous id -> sort by <filter> in xml only in descending order data_table_entry = dict(id=id, release=release , name = name, species = species, value = path) _add_data_table_entry(data_manager_dict, data_table_entry, "proteore_id_mapping_"+species)
