From d5cb3c3e2fd3fd917cc1b101b0f935c4d3e8b72f Mon Sep 17 00:00:00 2001 From: Estelle Ancelet Date: Tue, 6 Apr 2021 18:08:22 +0200 Subject: [PATCH] Lower tool id case while populating resource params --- lib/galaxy/tools/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/tools/__init__.py b/lib/galaxy/tools/__init__.py index 208fe5f5df4..0ebe042193d 100755 --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -1253,7 +1253,7 @@ class Tool(Dictifiable): def populate_resource_parameters(self, tool_source): root = getattr(tool_source, 'root', None) if root is not None and hasattr(self.app, 'job_config') and hasattr(self.app.job_config, 'get_tool_resource_xml'): - resource_xml = self.app.job_config.get_tool_resource_xml(root.get('id'), self.tool_type) + resource_xml = self.app.job_config.get_tool_resource_xml(root.get('id', '').lower(), self.tool_type) if resource_xml is not None: inputs = root.find('inputs') if inputs is None: