@@ -36,14 +36,16 @@ You can install python-cwlgen through pip with the following command:
36
36
pip install cwlgen
37
37
```
38
38
39
- ### How it works ?
39
+ ### How it works?
40
40
41
- There's a copy of the cwl specifications ([ Workflow] ( https://www.commonwl.org/v1.0/Workflow.html ) |
42
- [ CommandLineTool] ( https://www.commonwl.org/v1.0/CommandLineTool.html ) ), where the Python classes mirror the CWL spec.
43
- This repository also includes docstrings to give you context of classes and their properties.
41
+ This repository contains a number of python classes that mirror the CWL specifications ([ Workflow] ( https://www.commonwl.org/v1.0/Workflow.html ) |
42
+ [ CommandLineTool] ( https://www.commonwl.org/v1.0/CommandLineTool.html ) ). In essence, each class's initializer has all
43
+ of the properties it expects, which may be another object. The classes include the relevant docstrings to give you
44
+ context of classes and their properties.
45
+
46
+ The ` examples/ ` folder contains some simple examples, however in essence you simply initialize the class you're
47
+ trying to build. An initializer for a class has all of the properties it expects which may be another object.
44
48
45
- The ` examples/ ` folder contains some simple examples, however ,
46
- you can simply initialise that class, for example:
47
49
48
50
_ Creating a CommandLineTool_
49
51
``` python
@@ -69,3 +71,9 @@ tool_object.export()
69
71
with open (" echotool.cwl" , " w" ) as f:
70
72
tool_object.export(f)
71
73
```
74
+
75
+ ## References
76
+
77
+ CWL is developed by an informal, multi-vendor working group consisting of organizations and individuals
78
+ aiming to enable scientists to share data analysis workflows.
79
+ The [ CWL project is on Github] ( https://github.com/common-workflow-language/common-workflow-language ) .
0 commit comments