add label and description to customtool1.cwl

Project: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-common-activities/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-common-activities/commit/697f0b12
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-common-activities/tree/697f0b12
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-common-activities/diff/697f0b12

Branch: refs/heads/cwl-browse
Commit: 697f0b122ec67b878e2cc0f95ba97e06eb9e1814
Parents: 495d3ee
Author: ThilinaManamgoda <[email protected]>
Authored: Sat Jun 18 21:34:31 2016 +0530
Committer: ThilinaManamgoda <[email protected]>
Committed: Sat Jun 18 21:34:31 2016 +0530

----------------------------------------------------------------------
 taverna-cwl-activity-ui/CWLFiles/customtool1.cwl   | 17 +++++++++++++++++
 .../taverna/cwl/ui/serviceprovider/Testing.java    |  2 +-
 2 files changed, 18 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-common-activities/blob/697f0b12/taverna-cwl-activity-ui/CWLFiles/customtool1.cwl
----------------------------------------------------------------------
diff --git a/taverna-cwl-activity-ui/CWLFiles/customtool1.cwl 
b/taverna-cwl-activity-ui/CWLFiles/customtool1.cwl
index 762f9d0..13692d5 100644
--- a/taverna-cwl-activity-ui/CWLFiles/customtool1.cwl
+++ b/taverna-cwl-activity-ui/CWLFiles/customtool1.cwl
@@ -24,19 +24,36 @@ cwlVersion: cwl:draft-3
 inputs:
   - id: input_1
     type: int
+    label: input 1 testing label
+    description: this is a short description of input 1
 
   - id: input_2
     type:
       type: array
       items: int
+    label: input 2 testing label
+    description: this is a short description of input 2
+    
   - id: input_3
     type: String
+    label: input 3 testing label
+    description: this is a short description of input 3
 
 outputs:
   - id: output_1
     type: int
+    label: output 1 testing label
+    description: this is a short description of output 1
 
   - id: ouput_2
     type: String
+    label: output 2 testing label
+    description: this is a short description of output 2
+    
+label: This is a short description of the tool
+
+description: |
+ This is a much longer description of the tool. This can be displayed in
+ the service detail panel               
 
 basecommand: echo

http://git-wip-us.apache.org/repos/asf/incubator-taverna-common-activities/blob/697f0b12/taverna-cwl-activity-ui/src/main/java/org/apache/taverna/cwl/ui/serviceprovider/Testing.java
----------------------------------------------------------------------
diff --git 
a/taverna-cwl-activity-ui/src/main/java/org/apache/taverna/cwl/ui/serviceprovider/Testing.java
 
b/taverna-cwl-activity-ui/src/main/java/org/apache/taverna/cwl/ui/serviceprovider/Testing.java
index 8abca8c..50d8063 100644
--- 
a/taverna-cwl-activity-ui/src/main/java/org/apache/taverna/cwl/ui/serviceprovider/Testing.java
+++ 
b/taverna-cwl-activity-ui/src/main/java/org/apache/taverna/cwl/ui/serviceprovider/Testing.java
@@ -29,7 +29,7 @@ import org.apache.taverna.cwl.CwlActivityConfigurationBean;
 import org.yaml.snakeyaml.Yaml;
 
 public class Testing {
-       private static final File cwlFilesLocation = new 
File("/home/maanadev/cwlTools");
+       private static final File cwlFilesLocation = new File("CWLFiles");
        private static final String INPUTS = "inputs";
        private static final String ID = "id";
        private static final String TYPE = "type";

Reply via email to