Skip to content

small fixes to outputs #620

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 10, 2025
Merged
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
12 changes: 6 additions & 6 deletions docs/hello_nextflow/01_hello_world.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ nextflow run hello-world.nf
You console output should look something like this:

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-world.nf` [goofy_torvalds] DSL2 - revision: c33d41f479

Expand Down Expand Up @@ -351,7 +351,7 @@ nextflow run hello-world.nf
The log output should look very familiar:

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-world.nf` [jovial_mayer] DSL2 - revision: 35bd3425e5

Expand Down Expand Up @@ -395,7 +395,7 @@ nextflow run hello-world.nf -resume
The console output should look similar.

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-world.nf` [golden_cantor] DSL2 - revision: 35bd3425e5

Expand Down Expand Up @@ -584,7 +584,7 @@ nextflow run hello-world.nf --greeting 'Bonjour le monde!'
If you made all three edits correctly, you should get another successful execution:

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-world.nf` [elated_lavoisier] DSL2 - revision: 7c031b42ea

Expand Down Expand Up @@ -637,7 +637,7 @@ nextflow run hello-world.nf
The console output should look the same.

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-world.nf` [determined_edison] DSL2 - revision: 3539118582

Expand Down Expand Up @@ -666,7 +666,7 @@ nextflow run hello-world.nf --greeting 'Konnichiwa!'
The console output should look the same.

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-world.nf` [elegant_faraday] DSL2 - revision: 3539118582

Expand Down
20 changes: 10 additions & 10 deletions docs/hello_nextflow/02_hello_channels.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ nextflow run hello-channels.nf --greeting 'Hello Channels!'
```

```console title="Output"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-channels.nf` [insane_lichterman] DSL2 - revision: c33d41f479

Expand Down Expand Up @@ -149,7 +149,7 @@ nextflow run hello-channels.nf
If you made both edits correctly, you should get another successful execution:

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-channels.nf` [nice_heisenberg] DSL2 - revision: 41b4aeb7e9

Expand Down Expand Up @@ -219,7 +219,7 @@ nextflow run hello-channels.nf
It certainly seems to run just fine:

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-channels.nf` [suspicious_lamport] DSL2 - revision: 778deadaea

Expand All @@ -244,7 +244,7 @@ nextflow run hello-channels.nf -ansi-log false
This time we see all three process runs and their associated work subdirectories listed in the output:

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3
Launching `hello-channels.nf` [pensive_poitras] DSL2 - revision: 778deadaea
[76/f61695] Submitted process > sayHello (1)
[6e/d12e35] Submitted process > sayHello (3)
Expand Down Expand Up @@ -354,7 +354,7 @@ nextflow run hello-channels.nf
Reverting back to the summary view, the output looks like this again:

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-channels.nf` [astonishing_bell] DSL2 - revision: f57ff44a69

Expand Down Expand Up @@ -478,7 +478,7 @@ nextflow run hello-channels.nf
Oh no! Nextflow throws an error that starts like this:

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-channels.nf` [friendly_koch] DSL2 - revision: 97256837a7

Expand Down Expand Up @@ -580,7 +580,7 @@ nextflow run hello-channels.nf
This time it works AND gives us the additional insight into what the contents of the channel look like before and after we run the `flatten()` operator:

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-channels.nf` [tiny_elion] DSL2 - revision: 1d834f23d2

Expand Down Expand Up @@ -697,7 +697,7 @@ nextflow run hello-channels.nf
Oh no, it doesn't work. Here's the start of the console output and error message:

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-channels.nf` [adoring_bhabha] DSL2 - revision: 8ce25edc39

Expand Down Expand Up @@ -764,7 +764,7 @@ nextflow run hello-channels.nf
Interestingly, this fails too, but with a different error. The console output and error starts like this:

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-channels.nf` [stoic_ride] DSL2 - revision: a0e5de507e

Expand Down Expand Up @@ -852,7 +852,7 @@ nextflow run hello-channels.nf
This time it should run without error.

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-channels.nf` [tiny_heisenberg] DSL2 - revision: 845b471427

Expand Down
12 changes: 6 additions & 6 deletions docs/hello_nextflow/03_hello_workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ nextflow run hello-workflow.nf
```

```console title="Output"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-workflow.nf` [stupefied_sammet] DSL2 - revision: b9e466930b

Expand Down Expand Up @@ -197,7 +197,7 @@ nextflow run hello-workflow.nf -resume
You should see the following output:

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-workflow.nf` [disturbed_darwin] DSL2 - revision: 4e252c048f

Expand Down Expand Up @@ -420,7 +420,7 @@ nextflow run hello-workflow.nf -resume
It runs successfully, including the third step:

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-workflow.nf` [mad_gilbert] DSL2 - revision: 6acfd5e28d

Expand Down Expand Up @@ -511,7 +511,7 @@ nextflow run hello-workflow.nf -resume
It runs successfully, although the log output may look a little messier than this (we cleaned it up for readability).

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-workflow.nf` [soggy_franklin] DSL2 - revision: bc8e1b2726

Expand Down Expand Up @@ -691,7 +691,7 @@ nextflow run hello-workflow.nf -resume --batch trio
It runs successfully:

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-workflow.nf` [confident_rutherford] DSL2 - revision: bc58af409c

Expand Down Expand Up @@ -842,7 +842,7 @@ nextflow run hello-workflow.nf -resume --batch trio
This runs successfully:

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-workflow.nf` [evil_sinoussi] DSL2 - revision: eeca64cdb1

Expand Down
8 changes: 4 additions & 4 deletions docs/hello_nextflow/04_hello_modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ nextflow run hello-modules.nf
```

```console title="Output"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-modules.nf` [festering_nobel] DSL2 - revision: eeca64cdb1

Expand Down Expand Up @@ -168,7 +168,7 @@ nextflow run hello-modules.nf -resume
This runs quickly very quickly because everything is cached.

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-modules.nf` [romantic_poisson] DSL2 - revision: 96edfa9ad3

Expand Down Expand Up @@ -265,7 +265,7 @@ nextflow run hello-modules.nf -resume
This should still produce the same output as previously.

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-modules.nf` [nauseous_heisenberg] DSL2 - revision: a04a9f2da0

Expand Down Expand Up @@ -357,7 +357,7 @@ nextflow run hello-modules.nf -resume
This should still produce the same output as previously.

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-modules.nf` [friendly_coulomb] DSL2 - revision: 7aa2b9bc0f

Expand Down
12 changes: 6 additions & 6 deletions docs/hello_nextflow/05_hello_containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ nextflow run hello-containers.nf
This should produce the following output:

```console title="Output"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-containers.nf` [tender_becquerel] DSL2 - revision: f7cat8e223

Expand Down Expand Up @@ -187,7 +187,7 @@ ls /
```

```console title="Output"
bin dev etc home lib media mnt opt proc root run sbin srv sys tmp usr var
bin boot dev etc home lib lib64 media mnt opt proc root run sbin srv sys tmp usr var
```

You can see that the filesystem inside the container is different from the filesystem on your host system.
Expand Down Expand Up @@ -277,8 +277,8 @@ ls /data
Depending on what part of this training you've done before, the output below my look slightly different.

```console title="Output"
demo-params.json hello-channels.nf hello-workflow.nf modules results
greetings.csv hello-modules.nf hello-world.nf nextflow.config work
greetings.csv hello-config.nf hello-modules.nf hello-world.nf nextflow.config solutions work
hello-channels.nf hello-containers.nf hello-workflow.nf modules results test-params.json
```

<!-- ls output may need to be updated -->
Expand Down Expand Up @@ -498,7 +498,7 @@ nextflow run hello-containers.nf -resume
Oh no, there's an error!

```console title="Output"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-containers.nf` [special_lovelace] DSL2 - revision: 028a841db1

Expand Down Expand Up @@ -599,7 +599,7 @@ nextflow run hello-containers.nf -resume
This time it does indeed work.

```console title="Output" linenums="1"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-containers.nf` [elegant_brattain] DSL2 - revision: 028a841db1

Expand Down
10 changes: 5 additions & 5 deletions docs/hello_nextflow/06_hello_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ nextflow run hello-config.nf
```

```console title="Output"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-config.nf` [reverent_heisenberg] DSL2 - revision: 028a841db1

Expand Down Expand Up @@ -145,7 +145,7 @@ nextflow run hello-config.nf
This should work without issue.

```console title="Output"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-config.nf` [trusting_lovelace] DSL2 - revision: 028a841db1

Expand Down Expand Up @@ -360,7 +360,7 @@ nextflow run hello-config.nf -params-file test-params.json
It works! And as expected, this produces the same outputs as previously.

```console title="Output"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-config.nf` [disturbed_sammet] DSL2 - revision: ede9037d02

Expand Down Expand Up @@ -509,7 +509,7 @@ nextflow run hello-config.nf -profile my_laptop
This still produces the following output:

```
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-config.nf` [gigantic_brazil] DSL2 - revision: ede9037d02

Expand Down Expand Up @@ -591,7 +591,7 @@ nextflow run hello-config.nf -profile my_laptop,test
This should produce the following:

```console title="Output"
N E X T F L O W ~ version 24.10.0
N E X T F L O W ~ version 25.04.3

Launching `hello-config.nf` [gigantic_brazil] DSL2 - revision: ede9037d02

Expand Down
2 changes: 1 addition & 1 deletion hello-nextflow/hello-containers.nf
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ workflow {
collectGreetings(convertToUpper.out.collect(), params.batch)

// emit a message about the size of the batch
collectGreetings.out.count.view { "There were $it greetings in this batch" }
collectGreetings.out.count.view { num_greetings -> "There were $num_greetings greetings in this batch" }
}