Skip to content

Commit

Permalink
Add timestamp to config example
Browse files Browse the repository at this point in the history
  • Loading branch information
skrakau committed Jan 11, 2024
1 parent 3e30537 commit dd4a59a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/usage/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ description: Customising parameters for the CO2e calculation.
You can adjust the nf-co2footprint plugin parameters in your config file as follows:

```groovy title="nextflow.config"
def co2_timestamp = new java.util.Date().format( 'yyyy-MM-dd_HH-mm-ss')
co2footprint {
file = "${params.outdir}/co2footprint_trace.txt"
reportFile = "${params.outdir}/co2footprint_report.html"
file = "${params.outdir}/co2footprint_trace_${co2_timestamp}.txt"
reportFile = "${params.outdir}/co2footprint_report_${co2_timestamp}.html"
ci = 300
pue = 1.4
}
Expand Down

0 comments on commit dd4a59a

Please sign in to comment.