Warning

This document is for an in-development version 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.util.tool_version

[docs]def remove_version_from_guid(guid): """ Removes version from toolshed-derived tool_id(=guid). """ if "/" not in guid: return None last_slash = guid.rfind('/') return guid[:last_slash]