Mercurial > repos > pjbriggs > ceas
changeset 5:e853be203962 draft
Fix error for Galaxy v16.04 (data manager crashes complaining about missing 'six' Python package)
author | pjbriggs |
---|---|
date | Wed, 10 Aug 2016 11:37:28 -0400 |
parents | 4e2883bb058d |
children | 55ed5e1b7a07 |
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 Wed Aug 10 11:04:42 2016 -0400 +++ b/data_manager/data_manager_ceas_fetch_annotations.py Wed Aug 10 11:37:28 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