Warning
This document is for an old release of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.
Source code for galaxy.tools.special_tools
import logging
import os
log = logging.getLogger(__name__)
SPECIAL_TOOLS = {
"history export": "imp_exp/exp_history_to_archive.xml",
"history export to uri": "imp_exp/exp_history_to_uri.xml",
"history import": "imp_exp/imp_history_from_archive.xml",
"data fetch": "data_fetch.xml",
}
[docs]def load_lib_tools(toolbox):
for name, path in SPECIAL_TOOLS.items():
tool = toolbox.load_hidden_lib_tool(os.path.abspath(os.path.join(os.path.dirname(__file__), path)))
log.debug("Loaded %s tool: %s", name, tool.id)