Skip to content

Commit

Permalink
Load both cat1 versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Feb 24, 2021
1 parent 0508584 commit 7445882
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions planemo/galaxy/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,8 +536,11 @@ def _all_tool_paths(runnables, **kwds):
if runnable.type.name == "galaxy_workflow":
tool_ids = find_tool_ids(runnable.path)
for tool_id in tool_ids:
if tool_id in DISTRO_TOOLS_ID_TO_PATH:
all_tool_paths.append(DISTRO_TOOLS_ID_TO_PATH[tool_id])
tool_paths = tool_id in DISTRO_TOOLS_ID_TO_PATH
if tool_paths:
if isinstance(tool_paths, str):
tool_paths = [tool_paths]
all_tool_paths.extend(tool_paths)

return all_tool_paths

Expand Down
2 changes: 1 addition & 1 deletion planemo/galaxy/distro_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"gtf_filter_by_attribute_values_list": "filters/gff/gtf_filter_by_attribute_values_list.xml",
"Summary_Statistics1": "stats/gsummary.xml",
"qual_stats_boxplot": "plotting/boxplot.xml",
"cat1": "filters/catWrapper.xml",
"cat1": ["filters/catWrapper.xml", "filters/catWrapper2.xml"],
"maf_by_block_number1": "maf/maf_by_block_number.xml",
"Grep1": "filters/grep.xml",
"eupathdb": "data_source/eupathdb.xml",
Expand Down

0 comments on commit 7445882

Please sign in to comment.