示例#1
0
 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})
     return requirements.parse_requirements_from_dict(dict(
         requirements=[],  # TODO: enable via extensions
         containers=containers,
     ))
示例#3
0
    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,
        ))
示例#4
0
文件: cwl.py 项目: pcm32/galaxy-lib
    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,
            ))
示例#5
0
 def parse_requirements_and_containers(self):
     return requirements.parse_requirements_from_dict(self.root_dict)
示例#6
0
文件: yaml.py 项目: AAFC-MBB/galaxy-1
 def parse_requirements_and_containers(self):
     return requirements.parse_requirements_from_dict(self.root_dict)