mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Attempt to fix bug introduced in 08f8850853d004bf8a456a147436a669.
Thanks to Nicola for the bug report (https://bitbucket.org/galaxy/galaxy-central/commits/08f8850853d004bf8a456a147436a669#comment-1528754).
This commit is contained in:
@@ -483,8 +483,8 @@ class AbstractToolBox( object, Dictifiable ):
|
||||
return[ self._tools_by_id[ tool_id ] ]
|
||||
return None
|
||||
|
||||
def has_tool( self, tool_id, exact=False ):
|
||||
return self.get_tool( tool_id, exact=exact ) is not None
|
||||
def has_tool( self, tool_id, tool_version=None, exact=False ):
|
||||
return self.get_tool( tool_id, tool_version=tool_version, exact=exact ) is not None
|
||||
|
||||
def get_tool_id( self, tool_id ):
|
||||
""" Take a tool id (potentially from a different Galaxy instance or that
|
||||
|
||||
Reference in New Issue
Block a user