mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 05:45:37 +08:00
AbstractToolBox.__resolve_tool_path becomes the module-level resolve_tool_path() in tool_util.toolbox.base and discover uses it, dropping its own copy. This also fixes discover's fallback for confs without a tool_path attribute: it guessed <root>/tools, while the toolbox has always used config.tool_path; discover_tools_from_config now takes that default (discover_tools passes config.tool_path). Also hoists the MODEL_TOOLS_PATH import to module level - the parent galaxy.tools package is imported with the subpackage anyway, so the local import bought nothing. Claude-Session: https://claude.ai/code/session_018L7ZmCv2ubKA3JNeSL8Pkr