Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions docs/en/docs/hello_nextflow/01_hello_world.md
Original file line number Diff line number Diff line change
Expand Up @@ -765,19 +765,19 @@ In the process block, make the following code change:
=== "After"

```groovy title="hello-world.nf" linenums="14" hl_lines="3"
script:
"""
echo '${greeting}' > output.txt
"""
script:
"""
echo '${greeting}' > output.txt
"""
```

=== "Before"

```groovy title="hello-world.nf" linenums="14" hl_lines="3"
script:
"""
echo 'Hello World!' > output.txt
"""
script:
"""
echo 'Hello World!' > output.txt
"""
```

The `$` symbol and curly braces (`{ }`) tell Nextflow this is a variable name that needs to be replaced with the actual input value (=interpolated).
Expand Down Expand Up @@ -809,15 +809,15 @@ In the workflow block, make the following code change:
=== "After"

```groovy title="hello-world.nf" linenums="23" hl_lines="2"
// emit a greeting
sayHello(params.input)
// emit a greeting
sayHello(params.input)
```

=== "Before"

```groovy title="hello-world.nf" linenums="23" hl_lines="2"
// emit a greeting
sayHello()
// emit a greeting
sayHello()
```

This tells Nextflow to run the `sayHello` process on the value provided through the `--input` parameter.
Expand Down Expand Up @@ -1002,8 +1002,6 @@ Knowing how to launch workflows and retrieve outputs is great, but you'll quickl

Here we show you how to use the [`-resume`](https://nextflow.io/docs/latest/cache-and-resume.html) feature for when you need to re-launch the same workflow, how to inspect the log of past executions with [`nextflow log`](https://nextflow.io/docs/latest/reference/cli.html#log), and how to delete older work directories with [`nextflow clean`](https://nextflow.io/docs/latest/reference/cli.html#clean).

<!-- Any other cool options we should include? Added log -->

### 4.1. Re-launch a workflow with `-resume`

Sometimes, you're going to want to re-run a pipeline that you've already launched previously without redoing any steps that already completed successfully.
Expand Down
2 changes: 0 additions & 2 deletions docs/en/docs/hello_nextflow/02_hello_channels.md
Original file line number Diff line number Diff line change
Expand Up @@ -603,8 +603,6 @@ Have a look at the `results` directory to see if all the output greetings are th
└── output.txt
```

Yes! And they each have the expected contents.

??? abstract "File contents"

```console title="Bonjour-output.txt"
Expand Down
Loading