Mercurial > repos > ggricourt > data_manager_bigg
comparison data_manager/bigg_model_sbml_fetcher.py @ 8:6465fbc82292 draft
"planemo upload for repository https://github.com/brsynth/synbiocad-galaxy-wrappers commit 47caed1dd87e80ae226fabb584e9d63d7c86a436-dirty"
author | ggricourt |
---|---|
date | Thu, 24 Feb 2022 11:49:54 +0000 |
parents | 20146da1a7a6 |
children | e2f2977b1675 |
comparison
equal
deleted
inserted
replaced
7:20146da1a7a6 | 8:6465fbc82292 |
---|---|
42 | 42 |
43 | 43 |
44 def get_model_organism(model_id): | 44 def get_model_organism(model_id): |
45 data = url_json(MODEL_DETAIL_URL + model_id) | 45 data = url_json(MODEL_DETAIL_URL + model_id) |
46 org = data.get('organism', 'undefined') | 46 org = data.get('organism', 'undefined') |
47 res = "(%s) %s" (model_id, org) | 47 res = "(%s) %s" % (model_id, org) |
48 return res | 48 return res |
49 | 49 |
50 | 50 |
51 def download_entries(model_ids, workdir): | 51 def download_entries(model_ids, workdir): |
52 for model_id in model_ids: | 52 for model_id in model_ids: |