From c8b6c31824169e83cfc291a5b3e168b00ebb2301 Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Wed, 4 Oct 2023 11:04:42 +0200 Subject: [PATCH] remove redundant information from output report it's available in the regular NF report --- .../resources/CO2FootprintReportTemplate.html | 52 +------------------ 1 file changed, 2 insertions(+), 50 deletions(-) diff --git a/plugins/nf-co2footprint/src/resources/CO2FootprintReportTemplate.html b/plugins/nf-co2footprint/src/resources/CO2FootprintReportTemplate.html index 9cebd9e..0110c48 100644 --- a/plugins/nf-co2footprint/src/resources/CO2FootprintReportTemplate.html +++ b/plugins/nf-co2footprint/src/resources/CO2FootprintReportTemplate.html @@ -142,61 +142,11 @@

Workflow execution completed unsuccessfully!

(duration: ${workflow.duration}) -
-
-
  $workflow.stats.succeedCount succeeded  
-
  $workflow.stats.cachedCount cached  
-
  $workflow.stats.ignoredCount ignored  
-
  $workflow.stats.failedCount failed  
-
-
-
Nextflow command
${workflow.commandLine}
-
CPU-Hours
-
${workflow.stats.computeTimeFmt}
- -
Launch directory
-
${workflow.launchDir}
- -
Work directory
-
${workflow.workDir.toUriString()}
- -
Project directory
-
${workflow.projectDir}
- - <% if (workflow.scriptName) { %> -
Script name
-
${workflow.scriptName}
- <% } %> - - <% if (workflow.scriptId) { %> -
Script ID
-
${workflow.scriptId}
- <% } %> - -
Workflow session
-
${workflow.sessionId}
- - <% if (workflow.repository) { %> -
Workflow repository
-
${workflow.repository}, revision ${workflow.revision} (commit hash ${workflow.commitId})
- <% } %> - -
Workflow profile
-
${workflow.profile}
- - <% if (workflow.container) { %> -
Workflow container
-
${workflow.container}
- -
Container engine
-
${workflow.containerEngine?:'-'}
- <% } %> -
Nextflow version
version ${workflow.nextflow.version}, build ${workflow.nextflow.build} (${workflow.nextflow.timestamp})
@@ -230,11 +180,13 @@

Workflow execution completed unsuccessfully!

<% } %> +

The calculation of these values is based on the carbon footprint computation method developed in the Green Algorithms project: www.green-algorithms.org

Lannelongue, L., Grealey, J., Inouye, M., Green Algorithms: Quantifying the Carbon Footprint of Computation. Adv. Sci. 2021, 2100707. https://doi.org/10.1002/advs.202100707

+