somewhat draft4-compliant example

Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/commit/3a3ee838
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/tree/3a3ee838
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/diff/3a3ee838

Branch: refs/heads/cwl
Commit: 3a3ee838b9056066e6b5888f4201dca32aca73a9
Parents: a3428b2
Author: Stian Soiland-Reyes <[email protected]>
Authored: Fri May 20 19:02:15 2016 +0200
Committer: Stian Soiland-Reyes <[email protected]>
Committed: Fri May 20 19:02:15 2016 +0200

----------------------------------------------------------------------
 taverna-scufl2-cwl/src/test/resources/ex1/revsort.cwl | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/3a3ee838/taverna-scufl2-cwl/src/test/resources/ex1/revsort.cwl
----------------------------------------------------------------------
diff --git a/taverna-scufl2-cwl/src/test/resources/ex1/revsort.cwl 
b/taverna-scufl2-cwl/src/test/resources/ex1/revsort.cwl
index b4339d1..f351582 100644
--- a/taverna-scufl2-cwl/src/test/resources/ex1/revsort.cwl
+++ b/taverna-scufl2-cwl/src/test/resources/ex1/revsort.cwl
@@ -50,16 +50,18 @@ outputs:
 # parameter "#reversed" from the first step to the input parameter of the
 # tool "sorttool.cwl#input".
 steps:
-  - in:
+  - id: "#rev"
+    in:
       - { id: "#rev.input", source: "#input" }
     out:
       - { id: "#rev.output" }
-    run: { import: revtool.cwl }
+    run: { "$import": revtool.cwl }
 
-  - in:
+  - id: "#sorted"
+    in:
       - { id: "#sorted.input", source: "#rev.output" }
       - { id: "#sorted.reverse", source: "#reverse_sort" }
     out:
       - { id: "#sorted.output" }
-    run: { import: sorttool.cwl }
+    run: { "$import": sorttool.cwl }
     
\ No newline at end of file

Reply via email to