Display the Orphan column in the valid tool dependencies container in the tool shed.

This commit is contained in:
Greg Von Kuster
2013-02-18 16:00:43 -05:00
parent b6d2b76c33
commit 588567c27e
2 changed files with 11 additions and 7 deletions
@@ -514,7 +514,7 @@ def build_tool_dependencies_folder( trans, folder_id, tool_dependencies, label='
installation_status=None,
repository_id=None,
tool_dependency_id=None,
is_orphan=None )
is_orphan='Orphan' )
folder.tool_dependencies.append( tool_dependency )
is_orphan_description = "these dependencies may not be required by tools in this repository"
for dependency_key, requirements_dict in tool_dependencies.items():
@@ -628,13 +628,17 @@
${version_str | h}
</${cell_type}>
<${cell_type}>${tool_dependency.type | h}</${cell_type}>
%if trans.webapp.name == 'galaxy':
%if is_missing:
<${cell_type}>${tool_dependency.installation_status | h}</${cell_type}>
%elif tool_dependency.install_dir:
<${cell_type}>${tool_dependency.install_dir | h}</${cell_type}>
<${cell_type}>
%if trans.webapp.name == 'galaxy':
%if is_missing:
${tool_dependency.installation_status | h}
%elif tool_dependency.install_dir:
${tool_dependency.install_dir | h}
%endif
%else:
${tool_dependency.is_orphan | h}
%endif
%endif
</${cell_type}>
</tr>
<%
my_row = row_counter.count