diff --git a/docs/usage/parameters.md b/docs/usage/parameters.md index 980a85f..782ee6f 100644 --- a/docs/usage/parameters.md +++ b/docs/usage/parameters.md @@ -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 }