Skip to content

Commit

Permalink
Use MAIN_TOOLSHED_URL instead of literal url
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed May 7, 2024
1 parent 1889bb2 commit 0f6bb51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion planemo/galaxy/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
find_tool_ids,
import_workflow,
install_shed_repos,
MAIN_TOOLSHED_URL,
)

if TYPE_CHECKING:
Expand Down Expand Up @@ -1231,7 +1232,7 @@ def get_tool_sheds_conf_for_runnables(runnables: Optional[List["Runnable"]]) ->
def get_shed_tools_conf_string_for_tool_ids(tool_ids: List[str]) -> str:
tool_shed_urls = set(get_toolshed_url_for_tool_id(tool_id) for tool_id in tool_ids if tool_id)
# always add main toolshed
tool_shed_urls.add("https://toolshed.g2.bx.psu.edu")
tool_shed_urls.add(MAIN_TOOLSHED_URL)
cleaned_tool_shed_urls = set(_ for _ in tool_shed_urls if _ is not None)
TOOL_SHEDS_CONF_TEMPLATE = Template("""<tool_sheds>${tool_shed_lines}</tool_sheds>""")
tool_sheds: List[str] = []
Expand Down

0 comments on commit 0f6bb51

Please sign in to comment.