We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7500f4f commit 85f873fCopy full SHA for 85f873f
lib/galaxy/tools/stock.py
@@ -7,6 +7,7 @@
7
# Set GALAXY_INCLUDES_ROOT from tool shed to point this at a Galaxy root
8
# (once we are running the tool shed from packages not rooted with Galaxy).
9
import galaxy.tools
10
+from galaxy.tool_util.loader_directory import looks_like_a_tool_xml
11
from galaxy.tool_util.parser import get_tool_source
12
from galaxy.util import galaxy_directory
13
from galaxy.util.resources import files
@@ -26,7 +27,7 @@ def stock_tool_sources():
26
27
28
29
def _walk_directory_for_tools(path):
- if path.is_file() and path.name.endswith(".xml"):
30
+ if path.is_file() and not path.name.endswith("tool_conf.xml") and looks_like_a_tool_xml(path):
31
yield path
32
elif path.is_dir():
33
for directory in path.iterdir():
0 commit comments