From 3e656ce4f34d89780f8194372acd0c66d812eea2 Mon Sep 17 00:00:00 2001 From: "ivan.kondov" <ivan.kondov@kit.edu> Date: Mon, 17 Jul 2017 14:36:06 +0200 Subject: [PATCH] corrected the workflow listing --- docs/basics.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/basics.rst b/docs/basics.rst index 42a4f15..a5a1a59 100644 --- a/docs/basics.rst +++ b/docs/basics.rst @@ -45,9 +45,10 @@ subdivisions. The firetasks of one firework - are executed strictly one after another in the order of their specification; - share the same job working directory and the files in it. -Here is a short example of a workflow, demonstration the use of the +Here is a short example for a workflow demonstrating the usage of the ``PythonFunctionTask``:: + fws: - fw_id: 1 name: Grind coffee spec: @@ -72,7 +73,10 @@ Here is a short example of a workflow, demonstration the use of the name: Simple coffee workflow Open a text editor, such as ``vi``, ``nano``, ``gedit`` or ``emacs``, and save the -example above as **workflow.yaml**. +example above as **workflow.yaml**. To convert to JSON you can use the following +command:: + + yaml2json < workflow.yaml > workflow.json Add fireworks to LaunchPad -- GitLab