comparison env/lib/python3.7/site-packages/galaxy/util/tool_version.py @ 0:26e78fe6e8c4 draft

"planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
author shellac
date Sat, 02 May 2020 07:14:21 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:26e78fe6e8c4
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]