Skip to content

Commit

Permalink
Prepare for release + fix half generation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
illusional committed May 9, 2019
1 parent ea6825e commit 4891ae3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup

__version__ = "v0.2.1"
__version__ = "v0.2.2"

DESCRIPTION = "Contains classes and helpers to generate WDL without worrying about the syntax. " \
"This is primarily intended for generating WDL from other in-memory representations of a workflow."
Expand Down
8 changes: 4 additions & 4 deletions tests/test_task_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ def test_hello_workflow(self):
w = Workflow("test")

w.calls.append(WorkflowCall(
TestTaskGeneration.test_hello_tasks()
TestTaskGeneration.test_hello_tasks().name
))

w.calls.append(WorkflowCall(
TestTaskGeneration.test_hello_tasks(),
TestTaskGeneration.test_hello_tasks().name,
alias="hello2",
inputs_map={
"salutation": '"Greetings"',
Expand All @@ -141,8 +141,8 @@ def test_hello_workflow(self):
class TestWorkflowScatter(unittest.TestCase):
def test_call_scatter(self):
sc = WorkflowScatter("i", "integers", [
WorkflowCall(Task("task1"), inputs_map={"num": "i"}),
WorkflowCall(Task("task2"), inputs_map={"num": "task1.output"})
WorkflowCall(Task("task1").name, inputs_map={"num": "i"}),
WorkflowCall(Task("task2").name, inputs_map={"num": "task1.output"})
])

print(sc.get_string(indent=0))
Expand Down

0 comments on commit 4891ae3

Please sign in to comment.