Warning

This document is for an old release of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.

Source code for galaxy.tool_util.locations.file

from . import ToolLocationResolver


[docs]class HttpToolResolver(ToolLocationResolver): scheme = "file"
[docs] def get_tool_source_path(self, uri_like: str) -> str: assert uri_like.startswith("file://") return uri_like[len("file://") :]