Skip to content

Diagrams: draw.io house style and tooling; Hello Nextflow redrawn - #1048

Open
vdauwera wants to merge 36 commits into
gvda-course-refresh-26.10from
gvda-drawio-diagrams
Open

vdauwera wants to merge 36 commits into
gvda-course-refresh-26.10from
gvda-drawio-diagrams

Conversation

@vdauwera

@vdauwera vdauwera commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Moves course diagrams from Excalidraw exports to editable draw.io files (.drawio.svg), as discussed in #1046, and converts all of Hello Nextflow: Parts 1-5, the course maps, the index and next-steps pages, plus the complete-pipeline image used by Nextflow Run and the Hello pipeline page. Hello Workflow (Part 3) was the pilot, and its structure and examples were reworked along the way so the diagrams and text tell the same story.

Diagrams

All Hello Workflow diagrams are now .drawio.svg files in a new house style. They are plain SVG images that also carry the editable draw.io model; edit them in VS Code (Draw.io Integration extension) or at diagrams.net.

  • Palette chosen for accessibility: processes steel blue #2d799b with white text, files near-white #f0f9fb with teal outlines, channels teal #76d2c8. Stays distinct under protanopia, deuteranopia and tritanopia simulations, and keeps its hues under the site's dark-mode filter.
  • No handwritten font (learners reported it as hard to read): Helvetica for labels, Menlo for parameters and code.
  • Smaller files: roughly half the size of the Excalidraw exports.
  • Content fixes: missing parameter inputs added (--language, --batch; see Hello Nextflow workflow image #978), example values instead of ${placeholders}, channel names as in the code (no .out), no code shown before the text introduces it.

Kinds of diagram and where they go:

  • Workflow diagrams: a section opens with the first working version it builds; if the section then extends it, the finished state appears just before the step with the section's final run. Channels are drawn explicitly only where the text is about how steps connect, and the chapter says so to learners.
  • Process views: wherever a process is defined or changed (1.1, 1.3, 2.1, 3.1), a small diagram of one call (input file → process → output file, with file contents) comes before the code.
  • Warmups show the starting workflow, with the values the warmup run uses.
  • Code reorganization ("this turns into that") uses a wide hollow arrow rather than a data-flow arrow.

The old Excalidraw SVGs stay in place because the translations still reference them.

Tooling: _scripts/diagrams/ (Python 3, no dependencies)

  • house_style.py: every colour, font, line weight and spacing value.
  • check.py: checks diagrams against the style (missing editable model, fonts, HTML labels, colours, line weights, grid, crooked or off-centre arrows, text running into shapes; spacing as warnings).
  • layouts.py: standard layouts; process_view() draws every process view.
  • drawio.py: read, edit and write diagrams, with a renderer so script edits are viewable without opening the editor.
  • excalidraw_to_drawio.py: styled starting point from an old Excalidraw export.
  • README.md: workflow, the full style rules, and where diagrams go in a lesson.

Hello Workflow (Part 3) text changes

  • Structure: every section now follows the same steps: write the process → connect it to the workflow → extend it. The "test the command in the terminal" subsections are gone (the process views show what each step does); sections 1 and 2 are renumbered, and section names are standardized ("Write the translation process", "Connect the collection step to the workflow", ...). Section references and quiz links updated.
  • Language parameter: 1.1 says explicitly that the language parameter comes in 1.3. Section 1.3 runs with --language fr straight away, and sections 2-3 (and bonus exercises 1 and 3) continue in French for continuity; the default stays es.
  • Removed the "What if the language comes from a channel?" note (too early for Hello Nextflow; the Debugging side quest covers queue-channel exhaustion).
  • Reworked the "Working with scripts" tip and the 1.1 explanation of the process.

Other Hello Nextflow changes

  • Hello World (Part 1): the greeting parameter is renamed from --name to --who (also in Hello Channels, the scripts and solutions), so it's visibly distinct from the process input name; Part 1's runs use Earthlings and Everyone, since the names file only arrives in Part 2.
  • Hello Channels (Part 2): the 'Ziggy' example becomes 'Universe'; a warmup diagram shows the starting workflow; failures are drawn with a red X and "fails", the missing output dashed.
  • Hello Containers (Part 4): warmup diagram, a cowpy process view, and the --character input shown (part of Hello Nextflow workflow image #978).
  • Hello Modules (Part 5): a simple intro diagram (the one-file script becomes main.nf, modules/*.nf and nextflow.config, also used on the course index), the include diagram, and a block-by-block recap before the final Takeaway showing where each part of the script ended up. The recap still needs tuning.
  • Course maps: overview plus one map per part, with everything outside the current part faded and "you are here".
  • CONTRIBUTING.md and the new-module skill now describe the draw.io workflow and point to _scripts/diagrams/.

Other changes

  • Hello World (Part 1): one sentence in 1.1.1 recommending testing a command in the terminal before putting it in a script block (the habit the removed Part 3 subsections used to model).
  • extra.css: a drawio figure class (dark-mode filter only, since the .excalidraw rule would make box fills transparent), and more space above #### headings site-wide so sub-steps read as separate blocks.

Not yet done

  • Re-run the chapter: console outputs changed by the French continuity and the 1.3 run were edited by hand (1.3.4, 2.2.4 and the section 2-3 listings) and need confirming in the training container.
  • Other courses are on follow-up branches built on this one, not part of this PR: gvda-drawio-nfcore (Build with nf-core, 7 diagrams) and gvda-drawio-nf4science (genomics and RNA-seq, 6 diagrams, plus the domain template). The two Use nf-core infographics (params_vs_config, nfcore_config_files) are not converted yet.
  • Tuning the Part 5 recap diagram.
  • A CI job running check.py.
  • Unreferenced old images (no English page uses them) to delete once confirmed: side-quest nested/pipeline and genomics haplotype-caller Excalidraw files, assets/img/helloworlddiagram.png, genomics gatk-pipeline.png and joint-calling.png.

🤖 Generated with Claude Code

vdauwera and others added 3 commits November 24, 2026 11:11
Converts the four-way collect diagram in Hello Workflow (3.3) from an
Excalidraw export to an editable .drawio.svg, with manual layout tweaks:
- adds the --language input to collectGreetings (it takes three inputs)
- parameter inputs use dashed grey arrows with open heads and monospace
  labels; channel data uses solid dark arrows
- larger text; vertical arrows exactly vertical; plain-text labels

Adds a 'drawio' figure class that gets the dark-mode inversion but not the
excalidraw rule that makes every <rect> transparent (draw.io boxes are rects).
The old hello-collect-4-way.svg stays for now because translated pages still
reference it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Polish hello-collect-4-way.drawio.svg and use it to settle the house
style for draw.io course diagrams:

- Palette "J1": processes steel blue #2d799b (stroke #055672, white
  text), files near-white #f0f9fb (stroke #02899a), channels teal
  #76d2c8 (stroke #018178). Checked under protanopia, deuteranopia and
  tritanopia simulations; hues survive the site's dark-mode filter.
- Line weights for <50% display scale: data arrows 3, parameter arrows
  2.5 black dashed (4 2), box outlines 2.5, frame 2, arrowheads 12.
- Spacing: 130 px process-to-file gap, 70 px between stacked boxes,
  80 px into/out of a frame (100 px when a parameter label sits there),
  30 px frame padding, 10 px grid.
- Vertical arrows exactly vertical and centred on both boxes; fan-out
  outputs stacked 40 px apart, centred on their source.
- Parameter labels end one monospace space before their arrow.
- Plain SVG text labels (no wrap/HTML): 20 KB vs 39.6 KB for the
  original Excalidraw export.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add _scripts/diagrams/ (stdlib-only Python):
- house_style.py: every colour, font, line weight and spacing value
- drawio.py: read, edit, render and write .drawio.svg files; its
  renderer means script edits are viewable without opening the editor
- check.py: errors for missing editable model, forbidden fonts, HTML or
  wrapped labels, off-palette colours, line weights, grid, crooked or
  off-centre arrows and text running into shapes; warnings for spacing
- excalidraw_to_drawio.py: styled starting point from an old export
- README.md: workflow and the full set of rules

Rebuild hello-workflow-channels as a .drawio.svg to the house style
(24.8 KB vs 52 KB) and use it in Hello Workflow section 0; the old SVG
stays for the translations. Captions are 28 px bold, 40 px under what
they describe (15 px under a dashed group).

Fix the 4-way diagram's parameter label widths to the true Menlo
advance (15.65 px per character), so each arrow starts exactly one
space after the text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vdauwera vdauwera self-assigned this Nov 24, 2026
@netlify

netlify Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for nextflow-training ready!

Name Link
🔨 Latest commit 76b594f
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-training/deploys/6b10a1151004e93466e465e4
😎 Deploy Preview https://deploy-preview-1048--nextflow-training.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Nextflow linting complete!

⚠️ 19 files had 29 warnings
✅ 222 files had no errors
🔧 139 files would be changed by auto-formatting

💡 Tip: Click filename locations to go directly to that code.

View all 29 issues
Type Location Message
Warning nfcore-build/solutions/core-hello-part1/subworkflows/local/utils_nfcore_hello_pipeline/main.nf:33:5 Parameter was not used -- prefix with _ to suppress warning
Warning nfcore-build/solutions/core-hello-part1/workflows/hello.nf:61:9 Variable was declared but not used
Warning nfcore-build/solutions/core-hello-part2/modules/nf-core/find/concatenate/main.nf:22:5 The when section is deprecated -- use conditional logic in the calling workflow, or the process.when config option to disable a process at runtime
Warning nfcore-build/solutions/core-hello-part2/subworkflows/local/utils_nfcore_hello_pipeline/main.nf:33:5 Parameter was not used -- prefix with _ to suppress warning
Warning nfcore-build/solutions/core-hello-part2/workflows/hello.nf:45:55 Parameter was not used -- prefix with _ to suppress warning
Warning nfcore-build/solutions/core-hello-part2/workflows/hello.nf:70:9 Variable was declared but not used
Warning nfcore-build/solutions/core-hello-part3/modules/local/cowpy/main.nf:17:5 The when section is deprecated -- use conditional logic in the calling workflow, or the process.when config option to disable a process at runtime
Warning nfcore-build/solutions/core-hello-part3/modules/local/cowpy/main.nf:30:9 Variable was declared but not used
Warning nfcore-build/solutions/core-hello-part3/modules/nf-core/find/concatenate/main.nf:22:5 The when section is deprecated -- use conditional logic in the calling workflow, or the process.when config option to disable a process at runtime
Warning nfcore-build/solutions/core-hello-part3/subworkflows/local/utils_nfcore_hello_pipeline/main.nf:33:5 Parameter was not used -- prefix with _ to suppress warning
Warning nfcore-build/solutions/core-hello-part3/workflows/hello.nf:67:9 Variable was declared but not used
Warning nfcore-build/solutions/core-hello-part4/modules/local/cowpy/main.nf:17:5 The when section is deprecated -- use conditional logic in the calling workflow, or the process.when config option to disable a process at runtime
Warning nfcore-build/solutions/core-hello-part4/modules/local/cowpy/main.nf:30:9 Variable was declared but not used
Warning nfcore-build/solutions/core-hello-part4/modules/nf-core/find/concatenate/main.nf:22:5 The when section is deprecated -- use conditional logic in the calling workflow, or the process.when config option to disable a process at runtime
Warning nfcore-build/solutions/core-hello-part4/subworkflows/local/utils_nfcore_hello_pipeline/main.nf:33:5 Parameter was not used -- prefix with _ to suppress warning
Warning nfcore-build/solutions/core-hello-part4/workflows/hello.nf:67:9 Variable was declared but not used
Warning nfcore-build/solutions/core-hello-start/workflows/hello.nf:18:5 Parameter was not used -- prefix with _ to suppress warning
Warning nfcore-build/solutions/core-hello-start/workflows/hello.nf:45:9 Variable was declared but not used
Warning side-quests/solutions/debugging/buggy_workflow.nf:91:55 Parameter was not used -- prefix with _ to suppress warning
Warning side-quests/solutions/essential_scripting_patterns/main.nf:59:25 Parameter was not used -- prefix with _ to suppress warning
Warning side-quests/solutions/essential_scripting_patterns/main.nf:63:53 Parameter was not used -- prefix with _ to suppress warning
Warning side-quests/solutions/essential_scripting_patterns/main.nf:68:5 Variable was declared but not used
Warning side-quests/solutions/essential_scripting_patterns/main.nf:69:5 Variable was declared but not used
Warning side-quests/solutions/metadata/1.2/main.nf:5:5 Variable was declared but not used
Warning side-quests/solutions/splitting_and_grouping/main.nf:11:25 Parameter was not used -- prefix with _ to suppress warning
Warning side-quests/solutions/splitting_and_grouping/main.nf:14:25 Parameter was not used -- prefix with _ to suppress warning
Warning side-quests/solutions/splitting_and_grouping/main.nf:29:5 Variable was declared but not used
Warning side-quests/solutions/working_with_files/6/main.nf:10:43 Variable was declared but not used
Warning side-quests/solutions/working_with_files/6/main.nf:30:22 Parameter was not used -- prefix with _ to suppress warning
View formatting changes
FileDiff
hello-nextflow/solutions/1-hello-world/bonus/exercise.nf
View
@@ -4,7 +4,6 @@
  * Use echo to print a greeting to a file
  */
 process sayHello {
-
     input:
     val name
 
hello-nextflow/solutions/1-hello-world/hello-world-2.nf
View
@@ -4,7 +4,6 @@
  * Use echo to print 'Hello World!' to a file
  */
 process sayHello {
-
     output:
     path 'output.txt'
 
hello-nextflow/solutions/1-hello-world/hello-world-3.nf
View
@@ -4,7 +4,6 @@
  * Use echo to print a greeting to a file
  */
 process sayHello {
-
     input:
     val name
 
hello-nextflow/solutions/2-hello-channels/bonus/exercise-2-start.nf
View
@@ -31,8 +31,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[1] }
+        .splitCsv()
+        .map { row -> row[1] }
     // emit a greeting
     greetings_ch = sayHello(name_ch)
 
hello-nextflow/solutions/2-hello-channels/bonus/exercise-2.nf
View
@@ -31,8 +31,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[0] }
+        .splitCsv()
+        .map { row -> row[0] }
     // emit a greeting
     greetings_ch = sayHello(name_ch)
 
hello-nextflow/solutions/2-hello-channels/hello-channels-1.nf
View
@@ -4,7 +4,6 @@
  * Use echo to print a greeting to a file
  */
 process sayHello {
-
     input:
     val name
 
@@ -29,7 +28,7 @@ workflow {
     main:
     // create a channel for inputs
     name_ch = channel.of('Universe')
-                        .view()
+        .view()
     // emit a greeting
... (truncated)
hello-nextflow/solutions/2-hello-channels/hello-channels-2.nf
View
@@ -30,8 +30,8 @@ workflow {
 
     main:
     // create a channel for inputs
-    name_ch = channel.of('Mateo','Raphael','Celine')
-                        .view()
+    name_ch = channel.of('Mateo', 'Raphael', 'Celine')
+        .view()
     // emit a greeting
     greetings_ch = sayHello(name_ch)
 
hello-nextflow/solutions/2-hello-channels/hello-channels-3.nf
View
@@ -30,12 +30,12 @@ workflow {
 
     main:
     // declare an array of input names
-    names_array = ['Mateo','Raphael','Celine']
+    names_array = ['Mateo', 'Raphael', 'Celine']
     // create a channel for inputs
     name_ch = channel.of(names_array)
-                        .view { names -> "Before flatten: $names" }
-                        .flatten()
-                        .view { name -> "After flatten: $name" }
+        .view { names -> "Before flatten: ${names}" }
+        .flatten()
+        .view { name -> "After flatten: ${name}" }
     // emit a greeting
... (truncated)
hello-nextflow/solutions/2-hello-channels/hello-channels-4.nf
View
@@ -31,11 +31,11 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .view { csv -> "Before splitCsv: $csv" }
-                        .splitCsv()
-                        .view { row -> "After splitCsv: $row" }
-                        .map { row -> row[0] }
-                        .view { name -> "After map: $name" }
+        .view { csv -> "Before splitCsv: ${csv}" }
+        .splitCsv()
+        .view { row -> "After splitCsv: ${row}" }
+        .map { row -> row[0] }
+        .view { name -> "After map: ${name}" }
     // emit a greeting
... (truncated)
hello-nextflow/solutions/3-hello-workflow/bonus/exercise-1.nf
View
@@ -97,8 +97,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[0] }
+        .splitCsv()
+        .map { row -> row[0] }
     // emit a greeting
     greetings_ch = sayHello(name_ch)
     // translate the greeting
hello-nextflow/solutions/3-hello-workflow/bonus/exercise-2.nf
View
@@ -98,8 +98,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[0] }
+        .splitCsv()
+        .map { row -> row[0] }
     // emit a greeting
     greetings_ch = sayHello(name_ch)
     // translate the greeting
hello-nextflow/solutions/3-hello-workflow/bonus/exercise-3.nf
View
@@ -119,8 +119,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[0] }
+        .splitCsv()
+        .map { row -> row[0] }
     // emit a greeting
     greetings_ch = sayHello(name_ch)
     // translate the greeting
hello-nextflow/solutions/3-hello-workflow/hello-workflow-1.nf
View
@@ -56,8 +56,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[0] }
+        .splitCsv()
+        .map { row -> row[0] }
     // emit a greeting
     greetings_ch = sayHello(name_ch)
     // translate the greeting
hello-nextflow/solutions/3-hello-workflow/hello-workflow-2.nf
View
@@ -72,8 +72,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[0] }
+        .splitCsv()
+        .map { row -> row[0] }
     // emit a greeting
     greetings_ch = sayHello(name_ch)
     // translate the greeting
hello-nextflow/solutions/3-hello-workflow/hello-workflow-3.nf
View
@@ -94,8 +94,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[0] }
+        .splitCsv()
+        .map { row -> row[0] }
     // emit a greeting
     greetings_ch = sayHello(name_ch)
     // translate the greeting
hello-nextflow/solutions/3-hello-workflow/hello-workflow-4.nf
View
@@ -97,8 +97,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[0] }
+        .splitCsv()
+        .map { row -> row[0] }
     // emit a greeting
     greetings_ch = sayHello(name_ch)
     // translate the greeting
hello-nextflow/solutions/4-hello-containers/bonus/exercise-1/hello-containers.nf
View
@@ -123,8 +123,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[0] }
+        .splitCsv()
+        .map { row -> row[0] }
     // emit a greeting
     greetings_ch = sayHello(name_ch)
     // translate the greeting
hello-nextflow/solutions/4-hello-containers/bonus/exercise-2/hello-containers.nf
View
@@ -121,8 +121,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[0] }
+        .splitCsv()
+        .map { row -> row[0] }
     // emit a greeting
     greetings_ch = sayHello(name_ch)
     // translate the greeting
hello-nextflow/solutions/4-hello-containers/hello-containers-1.nf
View
@@ -118,8 +118,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[0] }
+        .splitCsv()
+        .map { row -> row[0] }
     // emit a greeting
     greetings_ch = sayHello(name_ch)
     // translate the greeting
hello-nextflow/solutions/4-hello-containers/hello-containers-2.nf
View
@@ -121,8 +121,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[0] }
+        .splitCsv()
+        .map { row -> row[0] }
     // emit a greeting
     greetings_ch = sayHello(name_ch)
     // translate the greeting
hello-nextflow/solutions/5-hello-modules/bonus/exercise-1/main.nf
View
@@ -21,8 +21,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[0] }
+        .splitCsv()
+        .map { row -> row[0] }
     // emit a greeting
     greetings_ch = sayHello(name_ch)
     // translate the greeting
hello-nextflow/solutions/5-hello-modules/bonus/exercise-2/main.nf
View
@@ -21,8 +21,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[0] }
+        .splitCsv()
+        .map { row -> row[0] }
     // emit a greeting
     greetings_ch = sayHello(name_ch)
     // translate the greeting
hello-nextflow/solutions/5-hello-modules/main-1.nf
View
@@ -105,8 +105,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[0] }
+        .splitCsv()
+        .map { row -> row[0] }
     // emit a greeting
     greetings_ch = sayHello(name_ch)
     // translate the greeting
hello-nextflow/solutions/5-hello-modules/main-2.nf
View
@@ -21,8 +21,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[0] }
+        .splitCsv()
+        .map { row -> row[0] }
     // emit a greeting
     greetings_ch = sayHello(name_ch)
     // translate the greeting
hello-nextflow/solutions/5-hello-modules/main.nf
View
@@ -21,8 +21,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[0] }
+        .splitCsv()
+        .map { row -> row[0] }
     // emit a greeting
     greetings_ch = sayHello(name_ch)
     // translate the greeting
hello-nextflow/solutions/challenges/challenge-1/hello-challenge.nf
View
@@ -31,11 +31,11 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .view { csv -> "Before splitCsv: $csv" }
-                        .splitCsv(header: true)
-                        .view { row -> "After splitCsv: $row" }
-                        .map { row -> row.name }
-                        .view { name -> "After map: $name" }
+        .view { csv -> "Before splitCsv: ${csv}" }
+        .splitCsv(header: true)
+        .view { row -> "After splitCsv: ${row}" }
+        .map { row -> row.name }
+        .view { name -> "After map: ${name}" }
     // emit a greeting
... (truncated)
hello-nextflow/solutions/challenges/challenge-2/hello-challenge.nf
View
@@ -31,12 +31,12 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .view { csv -> "Before splitCsv: $csv" }
-                        .splitCsv()
-                        .view { row -> "After splitCsv: $row" }
-                        .filter { row -> row[1] == 'fr' }
-                        .map { row -> row[0] }
-                        .view { name -> "After map: $name" }
+        .view { csv -> "Before splitCsv: ${csv}" }
+        .splitCsv()
+        .view { row -> "After splitCsv: ${row}" }
+        .filter { row -> row[1] == 'fr' }
+        .map { row -> row[0] }
... (truncated)
hello-nextflow/solutions/challenges/challenge-3/hello-challenge.nf
View
@@ -95,8 +95,8 @@ workflow {
     main:
     // create a channel of [name, language] pairs from a CSV file
     person_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> [row[0], row[1]] }
+        .splitCsv()
+        .map { row -> [row[0], row[1]] }
     // emit a greeting
     greetings_ch = sayHello(person_ch)
     // translate each greeting into its own language
hello-nextflow/solutions/challenges/challenge-4/hello-challenge.nf
View
@@ -20,8 +20,8 @@ workflow {
     main:
     // create a channel of [name, character] pairs from a CSV file
     person_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> [row[0], row[2]] }
+        .splitCsv()
+        .map { row -> [row[0], row[2]] }
     // emit a greeting
     greetings_ch = sayHello(person_ch)
     // translate the greeting
hello-nextflow/solutions/challenges/challenge-5/hello-challenge.nf
View
@@ -19,8 +19,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[0] }
+        .splitCsv()
+        .map { row -> row[0] }
     // greet, translate and collect
     greet_out = GREET(name_ch, params.language, params.batch)
     // generate ASCII art of the greetings with cowpy
hello-nextflow/solutions/challenges/challenge-5/workflows/greet.nf
View
@@ -4,7 +4,6 @@ include { translateGreeting } from '../modules/translateGreeting.nf'
 include { collectGreetings } from '../modules/collectGreetings.nf'
 
 workflow GREET {
-
     take:
     names_ch
     language
hello-nextflow/solutions/challenges/challenge-6/hello-challenge.nf
View
@@ -24,8 +24,8 @@ workflow {
     main:
     // create a channel for inputs from a CSV file
     name_ch = channel.fromPath(params.input)
-                        .splitCsv()
-                        .map { row -> row[0] }
+        .splitCsv()
+        .map { row -> row[0] }
     // emit a greeting
     greetings_ch = sayHello(name_ch)
     // translate the greeting
nfcore-build/solutions/composable-hello/hello.nf
View
@@ -14,7 +14,6 @@ include { collectGreetings } from './modules/collectGreetings.nf'
 include { cowpy } from './modules/cowpy.nf'
 
 workflow HELLO {
-
     take:
     // channel of greetings
     greeting_ch
nfcore-build/solutions/composable-hello/main.nf
View
@@ -9,12 +9,12 @@ params.greeting = 'greetings.csv'
 workflow {
     // create a channel for inputs from a CSV file
     greeting_ch = channel.fromPath(params.greeting)
-                        .splitCsv()
-                        .map { line -> line[0] }
+        .splitCsv()
+        .map { line -> line[0] }
 
     // call the imported workflow on the channel of greetings
     HELLO(greeting_ch)
 
     // view the outputs emitted by the workflow
-    HELLO.out.view { output -> "Output: $output" }
+    HELLO.out.view { output -> "Output: ${output}" }
... (truncated)
nfcore-build/solutions/composable-hello/modules/collectGreetings.nf
View
@@ -10,8 +10,8 @@ process collectGreetings {
     val batch_name
 
     output:
-    path "COLLECTED-${batch_name}-output.txt" , emit: outfile
-    val count_greetings , emit: count
+    path "COLLECTED-${batch_name}-output.txt", emit: outfile
+    val count_greetings, emit: count
 
     script:
     count_greetings = input_files.size()
nfcore-build/solutions/composable-hello/modules/convertToUpper.nf
View
@@ -13,6 +13,6 @@ process convertToUpper {
 
     script:
     """
-    cat $input_file | tr '[a-z]' '[A-Z]' > UPPER-${input_file}
+    cat ${input_file} | tr '[a-z]' '[A-Z]' > UPPER-${input_file}
     """
 }
nfcore-build/solutions/composable-hello/modules/cowpy.nf
View
@@ -15,6 +15,6 @@ process cowpy {
 
     script:
     """
-    cat $input_file | cowpy -c "$character" > cowpy-${input_file}
+    cat ${input_file} | cowpy -c "${character}" > cowpy-${input_file}
     """
 }
nfcore-build/solutions/composable-hello/modules/sayHello.nf
View
@@ -13,6 +13,6 @@ process sayHello {
 
     script:
     """
-    echo '$greeting' > '$greeting-output.txt'
+    echo '${greeting}' > '${greeting}-output.txt'
     """
 }
nfcore-build/solutions/core-hello-part1/conf/base.config
View
@@ -1,23 +1,23 @@
 /*
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-    core/hello Nextflow base config file
+core/hello Nextflow base config file
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-    A 'blank slate' config file, appropriate for general use on most high performance
-    compute environments. Assumes that all software is installed and available on
-    the PATH. Runs in `local` mode - all jobs will be run on the logged in environment.
+A 'blank slate' config file, appropriate for general use on most high performance
+compute environments. Assumes that all software is installed and available on
+the PATH. Runs in `local` mode - all jobs will be run on the logged in environment.
 ----------------------------------------------------------------------------------------
-*/
+ */
... (truncated)
nfcore-build/solutions/core-hello-part1/conf/modules.config(truncated)
nfcore-build/solutions/core-hello-part1/conf/test.config(truncated)
nfcore-build/solutions/core-hello-part1/conf/test_full.config(truncated)
nfcore-build/solutions/core-hello-part1/main.nf(truncated)
nfcore-build/solutions/core-hello-part1/modules/local/collectGreetings.nf(truncated)
nfcore-build/solutions/core-hello-part1/modules/local/convertToUpper.nf(truncated)
nfcore-build/solutions/core-hello-part1/modules/local/cowpy.nf(truncated)
nfcore-build/solutions/core-hello-part1/modules/local/sayHello.nf(truncated)
nfcore-build/solutions/core-hello-part1/nextflow.config(truncated)
nfcore-build/solutions/core-hello-part1/subworkflows/local/utils_nfcore_hello_pipeline/main.nf(truncated)
nfcore-build/solutions/core-hello-part1/subworkflows/nf-core/utils_nextflow_pipeline/main.nf(truncated)
nfcore-build/solutions/core-hello-part1/subworkflows/nf-core/utils_nextflow_pipeline/tests/nextflow.config(truncated)
nfcore-build/solutions/core-hello-part1/subworkflows/nf-core/utils_nfcore_pipeline/main.nf(truncated)
nfcore-build/solutions/core-hello-part1/subworkflows/nf-core/utils_nfcore_pipeline/tests/nextflow.config(truncated)
nfcore-build/solutions/core-hello-part1/subworkflows/nf-core/utils_nfschema_plugin/main.nf(truncated)
nfcore-build/solutions/core-hello-part1/workflows/hello.nf(truncated)
nfcore-build/solutions/core-hello-part2/conf/base.config(truncated)
nfcore-build/solutions/core-hello-part2/conf/modules.config(truncated)
nfcore-build/solutions/core-hello-part2/conf/test.config(truncated)
nfcore-build/solutions/core-hello-part2/conf/test_full.config(truncated)
nfcore-build/solutions/core-hello-part2/main.nf(truncated)
nfcore-build/solutions/core-hello-part2/modules/local/collectGreetings.nf(truncated)
nfcore-build/solutions/core-hello-part2/modules/local/convertToUpper.nf(truncated)
nfcore-build/solutions/core-hello-part2/modules/local/cowpy.nf(truncated)
nfcore-build/solutions/core-hello-part2/modules/local/sayHello.nf(truncated)
nfcore-build/solutions/core-hello-part2/modules/nf-core/find/concatenate/main.nf(truncated)
nfcore-build/solutions/core-hello-part2/nextflow.config(truncated)
nfcore-build/solutions/core-hello-part2/subworkflows/local/utils_nfcore_hello_pipeline/main.nf(truncated)
nfcore-build/solutions/core-hello-part2/subworkflows/nf-core/utils_nextflow_pipeline/main.nf(truncated)
nfcore-build/solutions/core-hello-part2/subworkflows/nf-core/utils_nextflow_pipeline/tests/nextflow.config(truncated)
nfcore-build/solutions/core-hello-part2/subworkflows/nf-core/utils_nfcore_pipeline/main.nf(truncated)
nfcore-build/solutions/core-hello-part2/subworkflows/nf-core/utils_nfcore_pipeline/tests/nextflow.config(truncated)
nfcore-build/solutions/core-hello-part2/subworkflows/nf-core/utils_nfschema_plugin/main.nf(truncated)
nfcore-build/solutions/core-hello-part2/workflows/hello.nf(truncated)
nfcore-build/solutions/core-hello-part3/conf/base.config(truncated)
nfcore-build/solutions/core-hello-part3/conf/modules.config(truncated)
nfcore-build/solutions/core-hello-part3/conf/test.config(truncated)
nfcore-build/solutions/core-hello-part3/conf/test_full.config(truncated)
nfcore-build/solutions/core-hello-part3/main.nf(truncated)
nfcore-build/solutions/core-hello-part3/modules/local/collectGreetings.nf(truncated)
nfcore-build/solutions/core-hello-part3/modules/local/convertToUpper.nf(truncated)
nfcore-build/solutions/core-hello-part3/modules/local/cowpy.nf(truncated)
nfcore-build/solutions/core-hello-part3/modules/local/cowpy/main.nf(truncated)
nfcore-build/solutions/core-hello-part3/modules/local/sayHello.nf(truncated)
nfcore-build/solutions/core-hello-part3/modules/nf-core/find/concatenate/main.nf(truncated)
nfcore-build/solutions/core-hello-part3/nextflow.config(truncated)
nfcore-build/solutions/core-hello-part3/subworkflows/local/utils_nfcore_hello_pipeline/main.nf(truncated)
nfcore-build/solutions/core-hello-part3/subworkflows/nf-core/utils_nextflow_pipeline/main.nf(truncated)
nfcore-build/solutions/core-hello-part3/subworkflows/nf-core/utils_nextflow_pipeline/tests/nextflow.config(truncated)
nfcore-build/solutions/core-hello-part3/subworkflows/nf-core/utils_nfcore_pipeline/main.nf(truncated)
nfcore-build/solutions/core-hello-part3/subworkflows/nf-core/utils_nfcore_pipeline/tests/nextflow.config(truncated)
nfcore-build/solutions/core-hello-part3/subworkflows/nf-core/utils_nfschema_plugin/main.nf(truncated)
nfcore-build/solutions/core-hello-part3/workflows/hello.nf(truncated)
nfcore-build/solutions/core-hello-part4/conf/base.config(truncated)
nfcore-build/solutions/core-hello-part4/conf/modules.config(truncated)
nfcore-build/solutions/core-hello-part4/conf/test.config(truncated)
nfcore-build/solutions/core-hello-part4/conf/test_full.config(truncated)
nfcore-build/solutions/core-hello-part4/main.nf(truncated)
nfcore-build/solutions/core-hello-part4/modules/local/collectGreetings.nf(truncated)
nfcore-build/solutions/core-hello-part4/modules/local/convertToUpper.nf(truncated)
nfcore-build/solutions/core-hello-part4/modules/local/cowpy.nf(truncated)
nfcore-build/solutions/core-hello-part4/modules/local/cowpy/main.nf(truncated)
nfcore-build/solutions/core-hello-part4/modules/local/sayHello.nf(truncated)
nfcore-build/solutions/core-hello-part4/modules/nf-core/find/concatenate/main.nf(truncated)
nfcore-build/solutions/core-hello-part4/nextflow.config(truncated)
nfcore-build/solutions/core-hello-part4/subworkflows/local/utils_nfcore_hello_pipeline/main.nf(truncated)
nfcore-build/solutions/core-hello-part4/subworkflows/nf-core/utils_nextflow_pipeline/main.nf(truncated)
nfcore-build/solutions/core-hello-part4/subworkflows/nf-core/utils_nextflow_pipeline/tests/nextflow.config(truncated)
nfcore-build/solutions/core-hello-part4/subworkflows/nf-core/utils_nfcore_pipeline/main.nf(truncated)
nfcore-build/solutions/core-hello-part4/subworkflows/nf-core/utils_nfcore_pipeline/tests/nextflow.config(truncated)
nfcore-build/solutions/core-hello-part4/subworkflows/nf-core/utils_nfschema_plugin/main.nf(truncated)
nfcore-build/solutions/core-hello-part4/workflows/hello.nf(truncated)
nfcore-build/solutions/core-hello-start/conf/base.config(truncated)
nfcore-build/solutions/core-hello-start/conf/modules.config(truncated)
nfcore-build/solutions/core-hello-start/conf/test.config(truncated)
nfcore-build/solutions/core-hello-start/conf/test_full.config(truncated)
nfcore-build/solutions/core-hello-start/main.nf(truncated)
nfcore-build/solutions/core-hello-start/nextflow.config(truncated)
nfcore-build/solutions/core-hello-start/subworkflows/local/utils_nfcore_hello_pipeline/main.nf(truncated)
nfcore-build/solutions/core-hello-start/subworkflows/nf-core/utils_nextflow_pipeline/main.nf(truncated)
nfcore-build/solutions/core-hello-start/subworkflows/nf-core/utils_nextflow_pipeline/tests/nextflow.config(truncated)
nfcore-build/solutions/core-hello-start/subworkflows/nf-core/utils_nfcore_pipeline/main.nf(truncated)
nfcore-build/solutions/core-hello-start/subworkflows/nf-core/utils_nfcore_pipeline/tests/nextflow.config(truncated)
nfcore-build/solutions/core-hello-start/subworkflows/nf-core/utils_nfschema_plugin/main.nf(truncated)
nfcore-build/solutions/core-hello-start/workflows/hello.nf(truncated)
nfcore-use/solutions/tuned.config(truncated)
side-quests/solutions/debugging/buggy_workflow.nf(truncated)
side-quests/solutions/essential_scripting_patterns/main.nf(truncated)
side-quests/solutions/essential_scripting_patterns/modules/generate_report.nf(truncated)
side-quests/solutions/metadata/1.2/main.nf(truncated)
side-quests/solutions/metadata/1.3/main.nf(truncated)
side-quests/solutions/metadata/1.4/main.nf(truncated)
side-quests/solutions/metadata/1.5/main.nf(truncated)
side-quests/solutions/metadata/2.1/main.nf(truncated)
side-quests/solutions/metadata/2.2/main.nf(truncated)
side-quests/solutions/metadata/2.3/main.nf(truncated)
side-quests/solutions/metadata/2.4/main.nf(truncated)
side-quests/solutions/metadata/3.2/main.nf(truncated)
side-quests/solutions/workflows_of_workflows/main.nf(truncated)
side-quests/solutions/working_with_files/6/main.nf(truncated)

vdauwera and others added 11 commits November 24, 2026 16:52
…nput

Rebuild hello-multistep in the house style, from the 4-way diagram's
top half, and use it in Hello Workflow section 1. Show the --language
parameter that section 1.3 adds, which the old diagram left out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- hello-multistep-connector rebuilt in the house style as a staircase:
  sayHello -> greetings_ch -> translateGreeting -> translated_ch, with
  channel names matching the workflow code (the course never uses .out)
  and a bent arrow so the channel caption stays clear.
- Captions that name a code object are Menlo bold.
- Parameter labels and code snippets are black, like the arrows.
- Hello Workflow section 1 tells learners that diagrams show channels
  explicitly only where the text is about how steps connect; elsewhere
  a file box stands for the channel of files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…atch inputs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…in 2.3

hello-collect-batch shows translated_ch.collect() feeding collectGreetings
from the top (staircase), --language es and --batch trio as straight
inputs, and the output in collected_ch. Example values only, and the
output channel is explicit because the input channel is. Section 2.3
reuses the 1.2.2 connector diagram, which had identical content. The
checker now handles items nested in channels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s-view rules

- hello-collect-no-operator and hello-collect-WITH-operator rebuilt in
  the house style, with explicit output channels.
- hello-collect-batch (2.2) is a process view: inputs named batch_name
  and language, plain-word captions 25 px under their channels, and no
  .collect() before the text introduces it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hello-collect-report (3.2) shows collected_out.outfile and
collected_out.report as explicit output channels with real example
values. In a captioned stack of two, the top caption sits above its
shape so no caption sits between them; the checker checks captions
above shapes and treats centred plain text as notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Section 1 opens with the always-Spanish version; the version with
  --language moves to the section 1 Takeaway (hello-multistep-language).
  The text says the language parameter comes in 1.3.
- layouts.process_view() draws a process definition the same way every
  time; used for translateGreeting (1.2.1, new) and collectGreetings (2.2).
- README: where diagrams go in a lesson.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Process views show one call with plain file boxes (no channels) and
  each file's contents underneath; they now appear wherever a process is
  defined or changes (1.2.1, 1.3.1, 2.2, 3.1), placed before the code.
- Reworked "Working with scripts" tip and 1.2.1 explanation.
- extra.css: more space above h4 sub-step headings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… in section intros

- 1.3.4 runs with --language fr first instead of a default-language run;
  2.3.4's output updated accordingly (translateGreeting reruns for es).
- The 1.3 process view shows fr as the example value, under its label.
- Process views sit in the intro of the section that defines or changes
  the process (1.2, 1.3), before the first numbered step.
- Remove the "language from a channel" note from 1.3.3: too early for
  Hello Nextflow; the Debugging side quest covers queue-channel exhaustion.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n French

- Section 1 split like sections 2 and 3: test the command, write the
  process, connect it to the workflow, then extend it (1.4 language).
- Standardized section names across the chapter; overview list and quiz
  links updated to match.
- Diagram placement: each section opens with its first working version;
  the end state sits just before the step with the section's final run
  (1.4, 2.5). hello-collect is now the default-batch opener and
  hello-collect-trio the end state.
- Sections 2-3 and bonus exercises 1 and 3 continue with --language fr
  (outputs, file contents and diagrams); 2.3 gets a French copy of the
  connector diagram.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The process views now show what each new step does, so the "test the
command in the terminal" subsections (old 1.1 and 2.1) are gone; their
descriptions of the translation and the cat command open the process
subsections. Sections 1 and 2 renumbered; section references and quiz
links updated. The habit of testing a command first moves to Hello
World, where the script block is introduced.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vdauwera vdauwera changed the title Diagrams: draw.io house style, tooling, first two Hello Workflow diagrams Diagrams: draw.io house style and tooling; Hello Workflow redrawn and restructured Nov 25, 2026
vdauwera and others added 8 commits November 25, 2026 16:10
…to --who

- Hello World diagrams redrawn as process views: sayHello -> output.txt
  (1.1.1), a new view of the process with its name input (3.1), and the
  --who parameter feeding it (3.2). process_view() now handles processes
  without a file input.
- Rename the greeting parameter from name to who (params.who, --who) in
  Hello World, Hello Channels and their scripts and solutions, so the
  parameter is visibly distinct from the process input `name`; 3.2 now
  says the two don't need to match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The names file only arrives in Part 2, so Part 1's runs use other
values: --who 'Earthlings' (3.3, and the 3.1 and 3.2 diagrams), the
default Friend (3.4.2) and --who 'Everyone' (3.4.3 and the quiz).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- All Hello Channels diagrams redrawn in the house style, with input and
  output channels explicit throughout; operator chains (flatten,
  splitCsv, map) stack channels vertically with the operator beside each
  arrow; failures show a red X with "fails" and the missing output
  dashed. The Takeaway reuses Part 3's channels diagram (same end state).
- New warmup diagram of the starting workflow (--who Channels).
- Replace the 'Ziggy' example with 'Universe'.
- drawio.py keeps arrow anchors at full precision.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Warmup diagram of the starting pipeline (default batch and language).
- Section 2 opener: collectGreetings outputs feeding cowpy, with the
  --character input (missing from the old diagram, see #978).
- cowpy process view before its code (2.1).
- Complete pipeline (Takeaway and the course next steps page).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Project layout (one script -> main.nf, nextflow.config, modules/; also
on the course index) and the include diagram (modules/ files -> the
processes in main.nf). The checker measures captions above or under a
frame or group from its outline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The overview map (course index) and one map per part (Parts 1-4), with
everything outside the current part faded and 'you are here' next to its
title. The renderer draws partial rectangles (brackets) and opacity; the
checker treats brackets as decoration and relaxes spacing for course maps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he Hello pipeline page

The surrounding text still describes the older convertToUpper pipeline;
that alignment is tracked in #1044.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…grams

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vdauwera vdauwera changed the title Diagrams: draw.io house style and tooling; Hello Workflow redrawn and restructured Diagrams: draw.io house style and tooling; Hello Nextflow redrawn Nov 25, 2026
vdauwera and others added 13 commits November 25, 2026 21:36
hello-course-code now shows hello-containers.nf broken into its blocks
(four processes, params, workflow, output) and, on the same rows, the
project file each one moves to (modules/*.nf, nextflow.config, main.nf).
A wide hollow 'transform' arrow replaces the data-flow arrow between the
two sides. The checker handles containers, items spanning several rows,
and notes beside items.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each Part 4 file (hello-containers.nf, nextflow.config) is drawn as a box
listing its blocks, each level with where it ends up: the processes in
modules/*.nf; params (names and types), workflow and output in main.nf;
docker.enabled and the parameter default values in nextflow.config.
Blocks added in Part 5 (include, profiles) are dashed and marked new.
The renderer supports top-aligned container labels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ecap

The block-by-block diagram is too much for the introduction. It moves to
the section 2 Takeaway as hello-modules-recap; the Part 5 introduction
and the course index have no diagram until a simpler intro is settled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…akeaway

hello-modules-intro shows the one-file script turning into main.nf (the
workflow), modules/*.nf (one file per process) and nextflow.config
(settings and default values); it opens Part 5 and illustrates Part 5 on
the course index. The block-by-block recap now sits just before the
section 2 Takeaway.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A distinct visual language for project structure: code files as pages
with a folded corner, directories as folders, neutral greys and
monospace names (never the pipeline palette). The intro shows the tall
hello-containers.nf ('all the code') turning into main.nf and modules/,
and the existing nextflow.config gaining the default parameter values.
The renderer draws page and folder shapes; house_style defines the
code roles (codefile, codedir, codecard, codebar).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Code is coloured by kind (workflow orange, modules purple, config grey,
all away from the pipeline palette and distinct under colour-vision
simulations). The original script shows its process blocks in purple and
its params/workflow/output block in orange, so each part can be traced
to where it ends up. Each file has its name and role written inside,
top left, with generous padding and spacing; the turns-into arrows have
a light fill.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…g to the config

hello-containers.nf now shows its params block split by colour: names
and types (orange, with the workflow and output) and default values
(grey). The orange block reappears in main.nf and the grey one in the
new nextflow.config, next to the existing Docker setting, so each kind
of code can be traced to its new home. Config blocks use a darker grey
so they stand out on the config page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…in the new config

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…5 intro

The two turns-into arrows suggested 1:1 pairings that the diagram doesn't
mean; a light vertical divider now separates before from after, with a
single arrow crossing it, centred vertically.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Palette D from the comparison: neutral pages and blocks, with the kind of
code shown by a coloured outline on files and a coloured bar on blocks
(workflow vermillion, modules purple, config grey). Boxes fit their
contents and the left side is centred against the right; the two config
files have distinct role lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every block of the Part 4 project and where it ends up, in the same
palette as the intro (neutral pages, coloured outline per file, coloured
edge per block): one page per module file, main.nf with its new include
declarations, and nextflow.config with the parameter defaults and the new
profiles. Boxes fit their contents; the colours carry the mapping, with a
divider and one centred arrow between before and after.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant