def parse_requirements_and_containers(self): containers = [] docker_identifier = self.tool_proxy.docker_identifier() if docker_identifier: containers.append({"type": "docker", "identifier": docker_identifier}) return requirements.parse_requirements_from_dict(dict( requirements=[], # TODO: enable via extensions containers=containers, ))
def parse_requirements_and_containers(self): containers = [] docker_identifier = self.tool_proxy.docker_identifier() if docker_identifier: containers.append({"type": "docker", "identifier": docker_identifier}) software_requirements = self.tool_proxy.software_requirements() return requirements.parse_requirements_from_dict(dict( requirements=list(map(lambda r: {"name": r[0], "version": r[1], "type": "package"}, software_requirements)), containers=containers, ))
def parse_requirements_and_containers(self): containers = [] docker_identifier = self.tool_proxy.docker_identifier() if docker_identifier: containers.append({ "type": "docker", "identifier": docker_identifier }) software_requirements = self.tool_proxy.software_requirements() return requirements.parse_requirements_from_dict( dict( requirements=list( map( lambda r: { "name": r[0], "version": r[1], "type": "package" }, software_requirements)), containers=containers, ))
def parse_requirements_and_containers(self): return requirements.parse_requirements_from_dict(self.root_dict)