# HG changeset patch # User dchristiany # Date 1547545994 18000 # Node ID 454c2e2984ea94bdcf7c34da7a0dcfab5f85e9ef # Parent 83f57ba704165a0d76b1426eed61ae475d0681e2 planemo upload commit 8040003119a3d54866ec6ee9b9f659f2af554817-dirty diff -r 83f57ba70416 -r 454c2e2984ea data_manager/resource_building.py --- a/data_manager/resource_building.py Tue Jan 15 04:29:28 2019 -0500 +++ b/data_manager/resource_building.py Tue Jan 15 04:53:14 2019 -0500 @@ -308,7 +308,7 @@ #download NCBI2Reactome.txt file and build dictionary download = requests.get('https://www.reactome.org/download/current/NCBI2Reactome.txt') - decoded_content = download.content.decode('utf-8') + decoded_content = download.content.decode('us-ascii') tab_file = csv.reader(decoded_content.splitlines(), delimiter='\t') dico_nodes = {} GeneID_index=0 @@ -329,7 +329,7 @@ elif interactome=="bioplex": download = requests.get("http://bioplex.hms.harvard.edu/data/BioPlex_interactionList_v4a.tsv") - decoded_content = download.content.decode('utf-8') + decoded_content = download.content.decode('us-ascii') bioplex = csv.reader(decoded_content.splitlines(), delimiter='\t') dico_network = {} dico_network["GeneID"]={} @@ -344,7 +344,7 @@ dico_GeneID_to_UniProt[line[0]]=line[2] download = requests.get("https://reactome.org/download/current/UniProt2Reactome.txt") - decoded_content = download.content.decode('utf-8') + decoded_content = download.content.decode('us-ascii') tab_file = csv.reader(decoded_content.splitlines(), delimiter='\t') dico_nodes = {} uniProt_index=0 diff -r 83f57ba70416 -r 454c2e2984ea data_manager/resource_building.xml --- a/data_manager/resource_building.xml Tue Jan 15 04:29:28 2019 -0500 +++ b/data_manager/resource_building.xml Tue Jan 15 04:53:14 2019 -0500 @@ -1,4 +1,4 @@ - + to create or update reference files for proteore tools