Skip to content

Commit

Permalink
Fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Jul 2, 2024
1 parent 3b693e9 commit 7608233
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/tools/stock.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
# (once we are running the tool shed from packages not rooted with Galaxy).
import galaxy.tools
from galaxy.tool_util.parser import get_tool_source
from galaxy.util import galaxy_root_path
from galaxy.util import galaxy_directory
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(galaxy_root_path / "test" / "functional" / "tools")
yield from _walk_directory_for_tools(galaxy_directory() / "test" / "functional" / "tools")


def stock_tool_sources():
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="gx_select_multiple" name="gx_select_multiple" version="1.0.0">
<tool id="gx_select_multiple_optional" name="gx_select_multiple_optional" version="1.0.0">
<command><![CDATA[
echo '$parameter' >> '$output'
]]></command>
Expand All @@ -16,10 +16,10 @@ echo '$parameter' >> '$output'
</outputs>
<tests>
<test>
<param name="parameter" value="12456" />
<param name="parameter" value="ex2" />
<output name="output">
<assert_contents>
<has_line line="12456" />
<has_line line="ex2" />
</assert_contents>
</output>
</test>
Expand Down

0 comments on commit 7608233

Please sign in to comment.