changeset 1:df9033b88b53 draft

Fix data manager for Galaxy version v16.04 (was failing with import error for 'six' package)
author pjbriggs
date Thu, 11 Aug 2016 04:16:49 -0400
parents f411ce97a351
children d2283cca00cd
files data_manager/data_manager_ceas_fetch_annotations.py
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data_manager/data_manager_ceas_fetch_annotations.py	Tue Jun 30 07:08:05 2015 -0400
+++ b/data_manager/data_manager_ceas_fetch_annotations.py	Thu Aug 11 04:16:49 2016 -0400
@@ -10,7 +10,11 @@
 import gzip
 import shutil
 
-from galaxy.util.json import from_json_string, to_json_string
+# Convenience functions mapping to JSON conversion
+# (this idiom borrowed from lib/galaxy/utils/json.py)
+import json
+to_json_string = json.dumps
+from_json_string = json.loads
 
 # Download file from specified URL and put into local subdir