changeset 17:c11d5bdc22e0 draft

planemo upload commit 8040003119a3d54866ec6ee9b9f659f2af554817-dirty
author dchristiany
date Tue, 15 Jan 2019 05:16:11 -0500
parents 454c2e2984ea
children 3479a69e02a1
files data_manager/resource_building.py data_manager/resource_building.xml
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/data_manager/resource_building.py	Tue Jan 15 04:53:14 2019 -0500
+++ b/data_manager/resource_building.py	Tue Jan 15 05:16:11 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('us-ascii')
+        decoded_content = download.content.decode('utf-8')
         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('us-ascii')
+        decoded_content = download.content.decode('utf-8')
         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('us-ascii')
+        decoded_content = download.content.decode('utf-8')
         tab_file = csv.reader(decoded_content.splitlines(), delimiter='\t')
         dico_nodes = {}
         uniProt_index=0
--- a/data_manager/resource_building.xml	Tue Jan 15 04:53:14 2019 -0500
+++ b/data_manager/resource_building.xml	Tue Jan 15 05:16:11 2019 -0500
@@ -1,8 +1,9 @@
-<tool id="data_manager_proteore" name="Get source files for proteore tools" version="2019.01.15.1" tool_type="manage_data">
+<tool id="data_manager_proteore" name="Get source files for proteore tools" version="2019.01.15.2" tool_type="manage_data">
 <description>
 to create or update reference files for proteore tools
 </description>
 <requirements>
+    <requirement type="package" version="3.7.1">python</requirement>
 </requirements>
 <stdio>
   <exit_code range="1:" />