commit/galaxy-central: inithello: Fix for installing a repository with set_environment tool dependencies.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/e9f81b5154bb/ changeset: e9f81b5154bb user: inithello date: 2013-01-11 19:31:02 summary: Fix for installing a repository with set_environment tool dependencies. affected #: 1 file diff -r e5ec6ed8f0337893cf4bc64e61089471b00b28b0 -r e9f81b5154bb71c6c12d4591c8f9519e52c93212 lib/galaxy/util/shed_util.py --- a/lib/galaxy/util/shed_util.py +++ b/lib/galaxy/util/shed_util.py @@ -791,9 +791,17 @@ tool_dependencies = {} missing_tool_dependencies = {} for td_key, val in all_tool_dependencies.items(): - # Since we have a new install, missing tool dependencies have never been installed. - val[ 'status' ] = trans.model.ToolDependency.installation_status.NEVER_INSTALLED - missing_tool_dependencies[ td_key ] = val + # Set environment tool dependencies are a list, set each member to never installed. + if td_key == 'set_environment': + new_val = [] + for requirement_dict in val: + requirement_dict[ 'status' ] = trans.model.ToolDependency.installation_status.NEVER_INSTALLED + new_val.append( requirement_dict ) + missing_tool_dependencies[ td_key ] = new_val + else: + # Since we have a new install, missing tool dependencies have never been installed. + val[ 'status' ] = trans.model.ToolDependency.installation_status.NEVER_INSTALLED + missing_tool_dependencies[ td_key ] = val else: tool_dependencies = None missing_tool_dependencies = None 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)
-
Bitbucket