ignoreCpuModel: to ignore the retrieved cpu_model name and use the default CPU power draw value
powerdrawCpuDefault: to change the default power draw value of a computing core. Used in combination with ignoreCpuModel or for tasks where no TDP value could be retrieved for the cpu_model (either because this is null or because there is no entry for the cpu_model)
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?
I added two parameters
ignoreCpuModel
: to ignore the retrievedcpu_model
name and use the default CPU power draw valuepowerdrawCpuDefault
: to change the default power draw value of a computing core. Used in combination withignoreCpuModel
or for tasks where no TDP value could be retrieved for thecpu_model
(either because this isnull
or because there is no entry for thecpu_model
)Additionally, i removed the
cpu_model
column from the TXT report ifignoreCpuModel
is set, since this would be misleading. If thecpu_model
was not found in the TDP data and the default power draw value is used instead, thecpu_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 thecpu_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