You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewIllegalArgumentException("Invalid combination of 'ci' and 'location' parameters specified for the CO2Footprint plugin. Please specify either 'ci' or 'location'!")
Copy file name to clipboardexpand all lines: plugins/nf-co2footprint/src/main/nextflow/co2footprint/CO2FootprintFactory.groovy
+32-3
Original file line number
Diff line number
Diff line change
@@ -198,9 +198,9 @@ class CO2FootprintFactory implements TraceObserverFactory {
198
198
* Remaining factors
199
199
*/
200
200
// PUE: efficiency coefficient of the data centre
201
-
Double pue = config.getPUE()
201
+
Double pue = config.getPue()
202
202
// CI: carbon intensity [gCO2e kWh−1]
203
-
def ci = config.getCI()
203
+
def ci = config.getCi()
204
204
205
205
/**
206
206
* Calculate energy consumption [kWh]
@@ -363,6 +363,11 @@ class CO2FootprintFactory implements TraceObserverFactory {
363
363
co2eSummaryFile.println("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")
0 commit comments