10290: Add scheduling_parameters map to containers and container_requests, and move...
[arvados.git] / sdk / cwl / arvados_cwl / runner.py
index ba41d7d97ea8085e1898daf075f327b8dd26d5cc..a1142544f5bf2e16150d56dd4d0b707cfd4db984 100644 (file)
@@ -110,6 +110,9 @@ def upload_docker(arvrunner, tool):
     if isinstance(tool, CommandLineTool):
         (docker_req, docker_is_req) = get_feature(tool, "DockerRequirement")
         if docker_req:
+            if docker_req.get("dockerOutputDirectory"):
+                # TODO: can be supported by containers API, but not jobs API.
+                raise UnsupportedRequirement("Option 'dockerOutputDirectory' of DockerRequirement not supported.")
             arv_docker_get_image(arvrunner.api, docker_req, True, arvrunner.project_uuid)
     elif isinstance(tool, cwltool.workflow.Workflow):
         for s in tool.steps: