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
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// Nextflow installation version
"NXF_HOME": "/workspaces/.nextflow",
"NXF_EDGE": "0",
"NXF_VER": "25.10.4",
"NXF_VER": "26.04.0",
"NXF_SYNTAX_PARSER": "v2",
// Other env vars
"HOST_PROJECT_PATH": "/workspaces/training",
Expand Down
13 changes: 4 additions & 9 deletions docs/en/docs/side_quests/plugin_development/01_plugin_basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ Update `nextflow.config`:
plugins {
id 'nf-hello@0.5.0'
id 'nf-schema@2.6.1'
id 'nf-co2footprint@1.2.0'
id 'nf-co2footprint@1.3.0'
}
```

Expand All @@ -532,7 +532,7 @@ The plugin produces several INFO and WARN messages during execution.
These are normal for a small example running on a local machine:

```console title="Output (partial)"
nf-co2footprint plugin ~ version 1.2.0
nf-co2footprint plugin ~ version 1.3.0
WARN - [nf-co2footprint] Target zone null not found. Attempting to retrieve carbon intensity for fallback zone GLOBAL.
INFO - [nf-co2footprint] Using fallback carbon intensity from GLOBAL from CI table: 480.0 gCO₂eq/kWh.
WARN - [nf-co2footprint] Executor 'null' not mapped.
Expand Down Expand Up @@ -598,7 +598,7 @@ Add a `co2footprint` block to `nextflow.config`:
plugins {
id 'nf-hello@0.5.0'
id 'nf-schema@2.6.1'
id 'nf-co2footprint@1.2.0'
id 'nf-co2footprint@1.3.0'
}

co2footprint {
Expand All @@ -612,7 +612,7 @@ Add a `co2footprint` block to `nextflow.config`:
plugins {
id 'nf-hello@0.5.0'
id 'nf-schema@2.6.1'
id 'nf-co2footprint@1.2.0'
id 'nf-co2footprint@1.3.0'
}
```

Expand All @@ -633,11 +633,6 @@ INFO - [nf-co2footprint] Using fallback carbon intensity from GB from CI table:
The zone warning is gone.
The plugin now uses GB-specific carbon intensity (163.92 gCO₂eq/kWh) instead of the global fallback (480.0 gCO₂eq/kWh).

!!! note

You may also see a `WARN: Unrecognized config option 'co2footprint.location'` message.
This is cosmetic and can be safely ignored; the plugin still reads the value correctly.

In Part 6, you'll create a configuration scope for your own plugin.

This plugin works entirely through the observer mechanism, hooking into workflow lifecycle events to collect resource metrics and generate its report when the pipeline completes.
Expand Down
Loading