Skip to content

Commit

Permalink
Cleanup stock tool sources parsed in galaxy.tools.stock.
Browse files Browse the repository at this point in the history
Was causing a randomly failing test.
  • Loading branch information
jmchilton committed Oct 19, 2024
1 parent c7589f4 commit bf2f290
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/galaxy/tools/stock.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ def stock_tool_sources():


def _walk_directory_for_tools(path):
if path.is_file() and path.name.endswith(".xml"):
# Skip macros and tool data files that are not actuall Galaxy XML tools.
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():
Expand Down

0 comments on commit bf2f290

Please sign in to comment.