Mercurial > repos > dchristiany > data_manager_proteore
comparison data_manager/resource_building.py @ 42:5a37a086c9a8 draft
planemo upload commit 43e2a01d7519104c2c16510e4dbdc023e65c49c7-dirty
author | dchristiany |
---|---|
date | Tue, 29 Jan 2019 11:08:07 -0500 |
parents | 4062484f2cee |
children | 3febf3d1139a |
comparison
equal
deleted
inserted
replaced
41:4062484f2cee | 42:5a37a086c9a8 |
---|---|
394 dico['network']=dico_network | 394 dico['network']=dico_network |
395 dico['nodes']=dico_nodes | 395 dico['nodes']=dico_nodes |
396 dico['convert']=dico_GeneID_to_UniProt | 396 dico['convert']=dico_GeneID_to_UniProt |
397 | 397 |
398 #writing output | 398 #writing output |
399 output_file = species+'_'+interactome+'_dict_'+ time.strftime("%d-%m-%Y") + ".json" | 399 output_file = species+'_'+interactome+'_'+ time.strftime("%d-%m-%Y") + ".json" |
400 path = os.path.join(target_directory,output_file) | 400 path = os.path.join(target_directory,output_file) |
401 name = species+" ("+species_dict[species]+") "+time.strftime("%d/%m/%Y") | 401 name = species+" ("+species_dict[species]+") "+time.strftime("%d/%m/%Y") |
402 id = species+"_"+interactome+"_"+ time.strftime("%d-%m-%Y") | 402 id = species+"_"+interactome+"_"+ time.strftime("%d-%m-%Y") |
403 | 403 |
404 with open(path, 'w') as handle: | 404 with open(path, 'w') as handle: |