commit/galaxy-central: greg: Fix for populating the missing tool dependencies container in certain special cases in Tool Shed repositories.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/73b57b7e1b73/ Changeset: 73b57b7e1b73 User: greg Date: 2013-11-19 14:55:23 Summary: Fix for populating the missing tool dependencies container in certain special cases in Tool Shed repositories. Affected #: 1 file diff -r 0632a6fe11a2027bdd15e5ddbc4c9c192bb6eaeb -r 73b57b7e1b73dbbf8b786d5dc749b67d635f8338 lib/tool_shed/util/metadata_util.py --- a/lib/tool_shed/util/metadata_util.py +++ b/lib/tool_shed/util/metadata_util.py @@ -1507,8 +1507,14 @@ common_install_util.get_installed_and_missing_repository_dependencies( trans, repository ) # Handle the current repository's tool dependencies. repository_tool_dependencies = metadata.get( 'tool_dependencies', None ) + # Make sure to display missing tool dependencies as well. + repository_invalid_tool_dependencies = metadata.get( 'invalid_tool_dependencies', None ) + if repository_invalid_tool_dependencies is not None: + if repository_tool_dependencies is None: + repository_tool_dependencies = {} + repository_tool_dependencies.update( repository_invalid_tool_dependencies ) repository_installed_tool_dependencies, repository_missing_tool_dependencies = \ - tool_dependency_util.get_installed_and_missing_tool_dependencies( trans, repository, repository_tool_dependencies ) + tool_dependency_util.get_installed_and_missing_tool_dependencies_for_installed_repository( trans, repository, repository_tool_dependencies ) if reinstalling: installed_tool_dependencies, missing_tool_dependencies = \ tool_dependency_util.populate_tool_dependencies_dicts( trans=trans, 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