Permalink
Browse files

Fixes for BioBlend v0.8.0

  • Loading branch information...
nsoranzo committed Aug 12, 2016
1 parent c270fec commit 9fdf490c7b7fbff1543055215518ab08d23163d3
Showing with 3 additions and 7 deletions.
  1. +1 −5 planemo/shed/__init__.py
  2. +1 −1 planemo/shed/interface.py
  3. +1 −1 requirements.txt
@@ -623,11 +623,7 @@ def update_repository_for(ctx, tsi, id, repo_config):
kwds["homepage_url"] = homepage_url
if category_ids is not None:
kwds['category_ids[]'] = category_ids
repo = Client._put(tsi.repositories, id=id, payload=kwds)
if repo.status_code in [200, 201]:
return repo.json()
else:
raise Exception("Failed to update repository.")
return Client._put(tsi.repositories, id=id, payload=kwds)


def create_repository_for(ctx, tsi, name, repo_config):
@@ -85,7 +85,7 @@ def api_exception_to_message(e):
def find_category_ids(tsi, categories):
""" Translate human readable category names into their associated IDs.
"""
category_list = tsi.repositories.get_categories()
category_list = tsi.categories.get_categories()

category_ids = []
for cat in categories:
@@ -2,7 +2,7 @@ aenum
Click
six>=1.7.0
pyyaml
bioblend>=0.7.0
bioblend>=0.8.0
docutils
jinja2
glob2

0 comments on commit 9fdf490

Please sign in to comment.