From 18977d4132556a0c2bd0348db510cf765d434e6a Mon Sep 17 00:00:00 2001 From: Nate Coraor Date: Fri, 29 Sep 2017 10:51:06 -0400 Subject: [PATCH] Don't load hidden tools into the tool panel at all. --- lib/galaxy/tools/toolbox/base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/galaxy/tools/toolbox/base.py b/lib/galaxy/tools/toolbox/base.py index 18e03e4ac69..460ee37a16c 100644 --- a/lib/galaxy/tools/toolbox/base.py +++ b/lib/galaxy/tools/toolbox/base.py @@ -264,6 +264,9 @@ class AbstractToolBox(Dictifiable, ManagesIntegratedToolPanelMixin, object): # See if a version of this tool is already loaded into the tool panel. # The value of panel_component will be a ToolSection (if the value of # section=True) or self._tool_panel (if section=False). + if tool.hidden: + log.debug("Skipping tool panel addition of hidden tool: %s, version: %s", tool.id, tool.version) + return tool_id = str(tool.id) tool = self._tools_by_id[tool_id] log_msg = ""