From 4850745fcbce8e4e9e44c5b6e534848df036e2cc Mon Sep 17 00:00:00 2001 From: Nate Coraor Date: Thu, 26 Sep 2013 11:02:58 -0400 Subject: [PATCH] Bugfix for tool-to-destination mapping, tool ids are lowercased but the mapping id was not lowercased. --- lib/galaxy/jobs/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/jobs/__init__.py b/lib/galaxy/jobs/__init__.py index ea8f816166b..cb661e95098 100644 --- a/lib/galaxy/jobs/__init__.py +++ b/lib/galaxy/jobs/__init__.py @@ -179,7 +179,7 @@ class JobConfiguration( object ): if tools is not None: for tool in self.__findall_with_required(tools, 'tool'): # There can be multiple definitions with identical ids, but different params - id = tool.get('id') + id = tool.get('id').lower() if id not in self.tools: self.tools[id] = list() self.tools[id].append(JobToolConfiguration(**dict(tool.items())))