comparison planemo/lib/python3.7/site-packages/galaxy/util/tool_version.py @ 1:56ad4e20f292 draft

"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
author guerler
date Fri, 31 Jul 2020 00:32:28 -0400
parents
children
comparison
equal deleted inserted replaced
0:d30785e31577 1:56ad4e20f292
1 def remove_version_from_guid(guid):
2 """
3 Removes version from toolshed-derived tool_id(=guid).
4 """
5 if "/" not in guid:
6 return None
7 last_slash = guid.rfind('/')
8 return guid[:last_slash]