Mercurial > repos > pjbriggs > ceas
comparison data_manager/data_manager_ceas_fetch_annotations.py @ 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 |
comparison
equal
deleted
inserted
replaced
4:4e2883bb058d | 5:e853be203962 |
---|---|
8 import optparse | 8 import optparse |
9 import urllib2 | 9 import urllib2 |
10 import gzip | 10 import gzip |
11 import shutil | 11 import shutil |
12 | 12 |
13 from galaxy.util.json import from_json_string, to_json_string | 13 # Convenience functions mapping to JSON conversion |
14 # (this idiom borrowed from lib/galaxy/utils/json.py) | |
15 import json | |
16 to_json_string = json.dumps | |
17 from_json_string = json.loads | |
14 | 18 |
15 # Download file from specified URL and put into local subdir | 19 # Download file from specified URL and put into local subdir |
16 | 20 |
17 if __name__ == '__main__': | 21 if __name__ == '__main__': |
18 #Parse Command Line | 22 #Parse Command Line |