commit/galaxy-central: greg: For tool dependencies whose installation ended in an error, still display them when attempting to uninstall them.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/43e37c4cc6cf/ Changeset: 43e37c4cc6cf User: greg Date: 2013-05-10 19:52:28 Summary: For tool dependencies whose installation ended in an error, still display them when attempting to uninstall them. Affected #: 1 file diff -r 60fe1081baac6aa1e2e9d2e4f8e22945df102671 -r 43e37c4cc6cfbcdaba7e29a8bfac1b96dc5e7990 templates/admin/tool_shed_repository/uninstall_tool_dependencies.mako --- a/templates/admin/tool_shed_repository/uninstall_tool_dependencies.mako +++ b/templates/admin/tool_shed_repository/uninstall_tool_dependencies.mako @@ -51,15 +51,15 @@ tool_dependency.tool_shed_repository.owner, tool_dependency.tool_shed_repository.name, tool_dependency.tool_shed_repository.installed_changeset_revision ) + if not os.path.exists( install_dir ): + install_dir = "This dependency's installation directory does not exist, click <b>Uninstall</b> to reset for installation." %> - %if os.path.exists( install_dir ): - <tr> - <td>${tool_dependency.name}</td> - <td>${tool_dependency.version}</td> - <td>${tool_dependency.type}</td> - <td>${install_dir}</td> - </tr> - %endif + <tr> + <td>${tool_dependency.name}</td> + <td>${tool_dependency.version}</td> + <td>${tool_dependency.type}</td> + <td>${install_dir}</td> + </tr> %endfor </table><div style="clear: both"></div> 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