Skip to content

Commit 6d0a758

Browse files
committed
Tag for release
1 parent be63fdd commit 6d0a758

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

README.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@
99
### WARNING
1010

1111
This module now only generates developmental WDL, this includes Directories and wrapping all inputs in an input block.
12-
To use this generated WDL, you must use a version of Cromwell higher than 37.
12+
To use this generated WDL, you must use a version of **Cromwell higher than 37**.
1313

1414
This module automatically includes `version development` in the Workflow and Task outputs.
1515
The guides below may not reflect the current version of this repository, but will be updated soon.
1616

1717
This syntax is based on the [Developmental Workflow Description Language specification](https://github.com/openwdl/wdl/blob/master/versions/development/SPEC.md).
1818

19+
___
20+
1921
## Motiviation
2022

2123
I needed an easy way to generate some _BASIC_ WDL through some in memory objects, and I was using ([a fork](https://github.com/illusional/python-cwlgen) of) [common-workflow-language/python-cwlgen](https://github.com/common-workflow-language/python-cwlgen), I figured I could open this up to see what use it has.
@@ -124,8 +126,12 @@ echo \
124126

125127
The combination of the task and command outputs:
126128
```wdl
129+
version development
130+
127131
task task_name {
128-
String taskGreeting
132+
input {
133+
String taskGreeting
134+
}
129135
command {
130136
echo \
131137
-a ${taskGreeting} \
@@ -158,10 +164,14 @@ w.outputs.append(wdlgen.Output(wdlgen.WdlType.parse("File"), "standardOut", "tas
158164

159165
Which outputs:
160166
```wdl
167+
version development
168+
161169
import "tools/tool_file.wdl"
162170

163171
workflow workflow_name {
164-
String inputGreeting
172+
input {
173+
String inputGreeting
174+
}
165175
call Q.namspaced_task_identifier as task_alias {
166176
input:
167177
taskGreeting=inputGreeting
@@ -184,9 +194,10 @@ You could also cause syntax errors in generated WDL by providing illegal charact
184194
- Improve code-level documentation.
185195
- Increase the testing coverage + quality of unit tests.
186196
- Better represent the WDL spec.
187-
- Find an easier distribution / release method - such as PIP.
188-
- Automate testing and delivery through TravisCI / CircleCI or similar.
197+
- ~~Find an easier distribution / release method - such as PIP.~~
198+
- ~~Automate testing and delivery through TravisCI / CircleCI or similar.~~
189199
- Validate each value by [WDL's language specifications](https://github.com/openwdl/wdl/blob/master/versions/1.0/SPEC.md#language-specification).
200+
- Add support for structs
190201

191202
### Long goals
192203
- Write a documentation site.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from setuptools import setup
22

3-
__version__ = "v0.0.2"
3+
__version__ = "v0.1.0"
44

55
DESCRIPTION = "Contains classes and helpers to generate WDL without worrying about the syntax. " \
66
"This is primarily intended for generating WDL from other in-memory representations of a workflow."

0 commit comments

Comments
 (0)