Commit d5cb3c3e authored by Estelle Ancelet's avatar Estelle Ancelet
Browse files

Lower tool id case while populating resource params

parent 998f092c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: