From c575455a58f9d4c23dffa9f362f47872a8db187e Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Mon, 29 Jul 2024 20:02:03 +0100 Subject: [PATCH] Fix for error reported by mypy 1.11.0 in ``AbstractToolBox`` --- lib/galaxy/tool_util/toolbox/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/galaxy/tool_util/toolbox/base.py b/lib/galaxy/tool_util/toolbox/base.py index 3f50c28cecea..99f36166dd26 100644 --- a/lib/galaxy/tool_util/toolbox/base.py +++ b/lib/galaxy/tool_util/toolbox/base.py @@ -246,7 +246,7 @@ def _default_panel_view(self, trans): config_value = getattr(config, "default_panel_view", None) return config_value or self.__default_panel_view - def create_tool(self, config_file, tool_shed_repository=None, guid=None, **kwds): + def create_tool(self, config_file, tool_cache_data_dir=None, **kwds): raise NotImplementedError() def create_dynamic_tool(self, dynamic_tool): @@ -1106,10 +1106,10 @@ def load_tool( if not tool or guid and guid != tool.guid: try: tool = self.create_tool( - config_file=config_file, + config_file, + tool_cache_data_dir=tool_cache_data_dir, tool_shed_repository=tool_shed_repository, guid=guid, - tool_cache_data_dir=tool_cache_data_dir, **kwds, ) except Exception: