From a808c84134f1279502a9b170f87253f623742093 Mon Sep 17 00:00:00 2001 From: Denis Yuen Date: Mon, 1 Feb 2016 16:56:14 -0500 Subject: [PATCH] Fixes needed to run tutorial I was using cromwell-0.16.jar --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1aa11c7..3b98b53 100644 --- a/README.md +++ b/README.md @@ -166,6 +166,7 @@ Currently the `hello` task returns a `File` with the greeting in it, but what if ```wdl task hello { + String str command { echo 'hello ${name}!' } @@ -198,10 +199,10 @@ So far we've only been dealing with the standard output of a command, but what i ```wdl task hello { command { - echo 'hello ${name}!' + echo 'hello ${name}!' > test.out } output { - String response = read_string(stdout()) + String response = read_string("test.out") } } @@ -253,6 +254,7 @@ Sometimes, an output file is named as a function of one of its inputs. ```wdl task hello { + String name command { echo 'hello ${name}!' > ${name}.txt } @@ -274,6 +276,7 @@ Say we wanted to call the `hello` task twice. Simply adding two `call hello` st ```wdl task hello { + String name command { echo 'hello ${name}!' } @@ -358,6 +361,8 @@ What if we wanted to parameterize the greeting and make it used for all invocati ```wdl task hello { + String salutation + String name command { echo '${salutation}, ${name}!' }