1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/changeset/cf4b47cde5e5/ changeset: cf4b47cde5e5 user: greg date: 2012-07-03 16:47:50 summary: Fixes for finding installed tool dependencies. affected #: 2 files
diff -r bd24fd95ae9726e789d314bac2433ed07d0e1abe -r cf4b47cde5e5505a4f7fd1e9557ef4187ecea491 lib/galaxy/tools/__init__.py --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -2358,7 +2358,7 @@ """ commands = [] if self.tool_shed_repository: - installed_tool_dependencies = self.tool_shed_repository.tool_dependencies + installed_tool_dependencies = self.tool_shed_repository.installed_tool_dependencies else: installed_tool_dependencies = None for requirement in self.requirements: @@ -2371,8 +2371,6 @@ version=requirement.version, type=requirement.type, installed_tool_dependencies=installed_tool_dependencies ) - if requirement.type == 'package': - script_file, base_path, version = self.app.toolbox.dependency_manager.find_dep( requirement.name, requirement.version ) if script_file is None and base_path is None: log.warn( "Failed to resolve dependency on '%s', ignoring", requirement.name ) elif script_file is None:
diff -r bd24fd95ae9726e789d314bac2433ed07d0e1abe -r cf4b47cde5e5505a4f7fd1e9557ef4187ecea491 lib/galaxy/tools/deps/__init__.py --- a/lib/galaxy/tools/deps/__init__.py +++ b/lib/galaxy/tools/deps/__init__.py @@ -45,10 +45,9 @@ installed_dependency = None if installed_tool_dependencies: for installed_tool_dependency in installed_tool_dependencies: - if not installed_tool_dependency.uninstalled: - if installed_tool_dependency.name==name and installed_tool_dependency.version==version and installed_tool_dependency.type==type: - installed_dependency = installed_tool_dependency - break + if installed_tool_dependency.name==name and installed_tool_dependency.version==version and installed_tool_dependency.type==type: + installed_dependency = installed_tool_dependency + break for base_path in self.base_paths: if installed_dependency: tool_shed_repository = installed_dependency.tool_shed_repository
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