Skip to content

Commit 48ef4ec

Browse files
authored
Merge pull request #46 from skrakau/extend_readme
Describe how to test in README
2 parents 37bf8a2 + ac3fedf commit 48ef4ec

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,29 @@ developed in the Green Algorithms project: www.green-algorithms.org
1919
The nf-co2footprint plugin generates a detailed TXT carbon footprint report containing the energy consumption, the estimated CO<sub>2</sub> emission and other relevant metrics for each task.
2020
Additionally, an HTML report is generated with information about the carbon footprint of the whole pipeline run and containing plots showing, for instance, an overview of the CO<sub>2</sub> emissions for the different processes.
2121

22+
23+
## Testing the plugin prior release
24+
25+
The plugin can be tested prior release without using a local Nextflow build using the following steps:
26+
27+
1. Build the plugin: `make buildPlugins`
28+
2. Copy `build/plugins/nf-co2footprint-<version>` to `$HOME/.nextflow/plugins`
29+
30+
The details on how to build and test the plugin during development using a local Nextflow build you can find in the [nf-hello README](https://github.com/nextflow-io/nf-hello/tree/master#readme).
31+
2232
## Quick Start
2333

2434
Declare the plugin in your Nextflow pipeline configuration file:
2535

2636
```groovy title="nextflow.config"
2737
plugins {
28-
id 'nf-co2footprint'
38+
id 'nf-co2footprint@0.4.0'
2939
}
3040
```
41+
<!-- NOTE: currently seems to only work with pinned version -->
3142

32-
This is all that is needed - Nextflow will automatically fetch the plugin code at run time.
43+
This is all that is needed.
44+
<!-- - Nextflow will automatically fetch the plugin code at run time. -->
3345

3446
## Customising parameters
3547

0 commit comments

Comments
 (0)