Skip to content

Commit 6012c2a

Browse files
pinin4fjordsclaude
andcommitted
Add workflow.output.mode coverage to Part 6 config documentation
Update section 0 (Warmup): - Show complete initial config file with both docker.enabled and workflow.output.mode settings - Add explanation of workflow.output.mode: 'copy' vs 'symlink' - Make connection to Part 5 (docker) and publishing covered in Part 1 Update section 1.1: - Include workflow.output.mode in both Before/After config examples - Maintains consistency as students modify config throughout tutorial This completes the loop: - Part 1: Mentions workflow.output.mode is configured (forward reference) - Part 6: Shows and explains the actual config setting 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 4fc6fb6 commit 6012c2a

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

docs/hello_nextflow/06_hello_config.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,29 @@ By learning to utilize these configuration options effectively, you can enhance
2727

2828
## 0. Warmup: Check that Docker is enabled and run the Hello Config workflow
2929

30-
First, a quick check. There is a `nextflow.config` file in the current directory that contains the line `docker.enabled = <setting>`, where `<setting>` is either `true` or `false` depending on whether or not you've worked through Part 5 of this course in the same environment.
30+
First, a quick check. There is a `nextflow.config` file in the current directory that should contain basic configuration settings from earlier parts of the training.
3131

32-
If it is set to `true`, you don't need to do anything.
32+
You can view the current config file:
3333

34-
If it is set to `false`, switch it to `true` now.
34+
```bash
35+
cat nextflow.config
36+
```
37+
38+
It should look something like this:
39+
40+
```groovy title="nextflow.config" linenums="1"
41+
docker.enabled = false
42+
workflow.output.mode = 'copy'
43+
```
44+
45+
The `docker.enabled` setting controls whether Docker containers are used (covered in Part 5).
46+
The `workflow.output.mode` setting controls how output files are published - `'copy'` means files are copied to the output directory, while the default `'symlink'` creates symbolic links instead.
3547

36-
```console title="nextflow.config" linenums="1"
48+
For this part of the training, make sure `docker.enabled` is set to `true`:
49+
50+
```groovy title="nextflow.config" linenums="1"
3751
docker.enabled = true
52+
workflow.output.mode = 'copy'
3853
```
3954

4055
Once you've done that, verify that the initial workflow runs properly:
@@ -90,13 +105,14 @@ To do so, we switch the value of `docker.enabled` to `false`, and add a directiv
90105
```groovy title="nextflow.config" linenums="1" hl_lines="1-2"
91106
docker.enabled = false
92107
conda.enabled = true
108+
workflow.output.mode = 'copy'
93109
```
94110

95111
=== "Before"
96112

97113
```groovy title="nextflow.config" linenums="1"
98-
99114
docker.enabled = true
115+
workflow.output.mode = 'copy'
100116
```
101117

102118
This will allow Nextflow to create and utilize Conda environments for processes that have Conda packages specified.

0 commit comments

Comments
 (0)