From 0c2feefed5a74143686a91230e3ee3ba8d26def9 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Thu, 19 Mar 2026 06:26:03 -0400 Subject: [PATCH] Include expression tools in stock_tool_paths. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit stock_tool_paths() missed tools/expression_tools/ (param_value_from_file, pick_value) — these are Galaxy stock tools but live outside lib/galaxy/tools/. Co-Authored-By: Claude Opus 4.6 (1M context) --- lib/galaxy/tools/stock.py | 1 + test/unit/app/tools/test_stock.py | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/galaxy/tools/stock.py b/lib/galaxy/tools/stock.py index eead325e644..a1a6804ca4d 100644 --- a/lib/galaxy/tools/stock.py +++ b/lib/galaxy/tools/stock.py @@ -16,6 +16,7 @@ from galaxy.util.resources import files def stock_tool_paths(): yield from _walk_directory_for_tools(files(galaxy.tools)) yield from _walk_directory_for_tools(Path(galaxy_directory()) / "test" / "functional" / "tools") + yield from _walk_directory_for_tools(Path(galaxy_directory()) / "tools") def stock_tool_sources(): diff --git a/test/unit/app/tools/test_stock.py b/test/unit/app/tools/test_stock.py index 25aeca87531..3918bd72b90 100644 --- a/test/unit/app/tools/test_stock.py +++ b/test/unit/app/tools/test_stock.py @@ -9,6 +9,7 @@ def test_stock_tool_paths(): assert "merge_collection.xml" in file_names assert "meme.xml" in file_names assert "output_auto_format.xml" in file_names + assert "parse_values_from_file.xml" in file_names def test_stock_tool_sources():