mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix tool version matching
This commit is contained in:
@@ -566,8 +566,8 @@ class ToolModule( WorkflowModule ):
|
||||
self.tool_id = tool_id
|
||||
self.tool_version = tool_version
|
||||
self.tool = trans.app.toolbox.get_tool( tool_id, tool_version=tool_version, exact=exact_tools )
|
||||
if tool_version and exact_tools and str(tool.version) != str(tool_version):
|
||||
log.debug("Exact tool specified during workflow module creation for [%s] but couldn't find correct version [%s]" % (tool_id, tool_version))
|
||||
if self.tool and tool_version and exact_tools and str( self.tool.version ) != str( tool_version ):
|
||||
log.debug( "Exact tool specified during workflow module creation for [%s] but couldn't find correct version [%s]." % (tool_id, tool_version) )
|
||||
self.tool = None
|
||||
self.post_job_actions = {}
|
||||
self.runtime_post_job_actions = {}
|
||||
|
||||
Reference in New Issue
Block a user