nextflow-io / nf-co2footprint

[WIP] A Nextflow plugin to estimate the CO2 footprint of pipeline runs.
https://nextflow-io.github.io/nf-co2footprint/
Apache License 2.0
10 stars 3 forks source link

Add parameter to ignore cpu_model and to change default CPU power draw value #70

Closed skrakau closed 7 months ago

skrakau commented 7 months ago

I added two parameters

Additionally, i removed the cpu_model column from the TXT report if ignoreCpuModel is set, since this would be misleading. If the cpu_model was not found in the TDP data and the default power draw value is used instead, the cpu_model column is kept (would be task specific). In this case, anyway a warning is given out already.

Probably it would make sense, if ignoreCpuModel is set, to remove the cpu_model column from the table in the HTML report as well. @mirpedrol what do you think and is this something you could add?

Addresses https://github.com/nextflow-io/nf-co2footprint/issues/58

mirpedrol commented 7 months ago

cpu_model values appear as empty (-) in the report if ignoreCpuModel is used image