diff env/lib/python3.9/site-packages/cwltool/tests/wf/packed-with-loadlisting.cwl @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/env/lib/python3.9/site-packages/cwltool/tests/wf/packed-with-loadlisting.cwl	Mon Mar 22 18:12:50 2021 +0000
@@ -0,0 +1,77 @@
+#!/usr/bin/env cwl-runner
+{
+      "$graph": [
+        {
+          "class": "Workflow",
+          "requirements": [
+            {
+              "loadListing": "no_listing",
+              "class": "http://commonwl.org/cwltool#LoadListingRequirement"
+            }
+          ],
+          "inputs": [
+            {
+              "type": "Directory",
+              "id": "#main/d"
+            }
+          ],
+          "steps": [
+            {
+              "in": [
+                {
+                  "source": "#main/d",
+                  "id": "#main/step1/d"
+                }
+              ],
+              "out": [
+                "#main/step1/out"
+              ],
+              "run": "#16169-step.cwl",
+              "id": "#main/step1"
+            }
+          ],
+          "outputs": [
+            {
+              "type": "File",
+              "outputSource": "#main/step1/out",
+              "id": "#main/out"
+            }
+          ],
+          "id": "#main",
+          "$namespaces": {
+            "cwltool": "http://commonwl.org/cwltool#"
+          }
+        },
+        {
+          "class": "CommandLineTool",
+          "requirements": [
+            {
+              "dockerPull": "debian:stretch-slim",
+              "class": "DockerRequirement",
+            },
+            {
+              "class": "InlineJavascriptRequirement"
+            }
+          ],
+          "inputs": [
+            {
+              "type": "Directory",
+              "id": "#16169-step.cwl/d"
+            }
+          ],
+          "outputs": [
+            {
+              "type": "stdout",
+              "id": "#16169-step.cwl/out"
+            }
+          ],
+          "stdout": "output.txt",
+          "arguments": [
+            "echo",
+            "${if(inputs.d.listing === undefined) {return 'true';} else {return 'false';}}"
+          ],
+          "id": "#16169-step.cwl"
+        }
+      ],
+      "cwlVersion": "v1.0"
+    }