1 new changeset in galaxy-central:
http://bitbucket.org/galaxy/galaxy-central/changeset/6f321d52b8af/ changeset: 6f321d52b8af user: greg date: 2011-09-05 13:07:43 summary: Fix for defining the relative file path for a tool automatically installed from a tool shed. affected #: 1 file (288 bytes)
--- a/lib/galaxy/web/base/controller.py Fri Sep 02 18:32:13 2011 -0400 +++ b/lib/galaxy/web/base/controller.py Mon Sep 05 07:07:43 2011 -0400 @@ -2768,11 +2768,8 @@ try: repository_tool = trans.app.toolbox.load_tool( full_path ) if repository_tool: - # At this point, we need to lstrip tool_path from relative_path,m but we - # have to be careful, so we do this the following way instead of using lstrip(). - items = relative_path.split( '/' ) - lstriped_items = items[ 2: ] - tup_path = '/'.join( lstriped_items ) + # At this point, we need to lstrip tool_path from relative_path. + tup_path = relative_path.replace( tool_path, '' ).lstrip( '/' ) repository_tools_tups.append( ( tup_path, repository_tool ) ) except Exception, e: # We have an inavlid .xml file, so not a tool config. @@ -2894,7 +2891,7 @@ Generate a tool path that guarantees repositories with the same name will always be installed in different directories. The tool path will be of the form: <tool shed url>/repos/<repository owner>/<repository name>/<changeset revision> - http://test@gvk.bx.psu.edu:9009/repos/test/filter + http://test@bx.psu.edu:9009/repos/test/filter """ tmp_url = self.__clean_repository_clone_url( repository_clone_url ) # Now tmp_url is something like: bx.psu.edu:9009/repos/some_username/column
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.
galaxy-commits@lists.galaxyproject.org