Skip to content

Commit

Permalink
Fix for error reported by mypy 1.11.0 in AbstractToolBox
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Jul 30, 2024
1 parent 1e12c65 commit 1fbdcbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/galaxy/tool_util/toolbox/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 1fbdcbc

Please sign in to comment.