commit/galaxy-central: 2 new changesets
2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/71186fb4b179/ Changeset: 71186fb4b179 User: dan Date: 2014-01-16 22:21:41 Summary: Use toolbox.get_tool instead of toolbox.tools_by_id.get in tools api show(). Affected #: 1 file diff -r 40a5f3139ecf714090347612ec69e0d964911d85 -r 71186fb4b179fc051e6919dd0e31e94f9cedc3d6 lib/galaxy/webapps/galaxy/api/tools.py --- a/lib/galaxy/webapps/galaxy/api/tools.py +++ b/lib/galaxy/webapps/galaxy/api/tools.py @@ -53,7 +53,7 @@ link_details = util.string_as_bool( kwd.get( 'link_details', False ) ) try: id = urllib.unquote_plus( id ) - tool = self.app.toolbox.tools_by_id.get( id, None ) + tool = self.app.toolbox.get_tool( id ) if not tool: trans.response.status = 404 return { 'error': 'tool not found', 'id': id } https://bitbucket.org/galaxy/galaxy-central/commits/b2e473cd17cd/ Changeset: b2e473cd17cd Branch: stable User: dan Date: 2014-01-16 22:21:41 Summary: Use toolbox.get_tool instead of toolbox.tools_by_id.get in tools api show(). Affected #: 1 file diff -r 4e280310697b806aa0e08c80f342e2c93f1558f0 -r b2e473cd17cdd0e5758cee32e74f9be7723658bf lib/galaxy/webapps/galaxy/api/tools.py --- a/lib/galaxy/webapps/galaxy/api/tools.py +++ b/lib/galaxy/webapps/galaxy/api/tools.py @@ -50,7 +50,7 @@ link_details = util.string_as_bool( kwd.get( 'link_details', False ) ) try: id = urllib.unquote_plus( id ) - tool = self.app.toolbox.tools_by_id.get( id, None ) + tool = self.app.toolbox.get_tool( id ) if not tool: trans.response.status = 404 return { 'error': 'tool not found', 'id': id } Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org