From 0a01326cacc723b31b012aa0a3b3a638bedfd3b5 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Thu, 17 Oct 2024 15:59:38 -0400 Subject: [PATCH] Cleanup stock tool sources parsed in galaxy.tools.stock. Was causing a randomly failing test. --- lib/galaxy/tools/stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/tools/stock.py b/lib/galaxy/tools/stock.py index 1a86354f1370..da890fe13a8f 100644 --- a/lib/galaxy/tools/stock.py +++ b/lib/galaxy/tools/stock.py @@ -26,7 +26,7 @@ def stock_tool_sources(): def _walk_directory_for_tools(path): - if path.is_file() and path.name.endswith(".xml"): + if path.is_file() and path.name.endswith(".xml") and "macros" not in path.name and "_conf.xml" not in path.name: yield path elif path.is_dir(): for directory in path.iterdir():