From 654509caec3ac05aa0123793c2c551c361ec7c38 Mon Sep 17 00:00:00 2001 From: Jacob Schwartz Date: Tue, 3 Oct 2023 15:59:23 -0400 Subject: [PATCH] Remove unneeded check when loading fuel data (#545) --- src/load_inputs/load_fuels_data.jl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/load_inputs/load_fuels_data.jl b/src/load_inputs/load_fuels_data.jl index fe15ea824c..a32a9cfe6f 100644 --- a/src/load_inputs/load_fuels_data.jl +++ b/src/load_inputs/load_fuels_data.jl @@ -14,11 +14,8 @@ function load_fuels_data!(setup::Dict, path::AbstractString, inputs::Dict) filename = "Fuels_data.csv" fuels_in = load_dataframe(joinpath(my_dir, filename)) - existing_fuels = names(fuels_in) for nonfuel in ("None",) - if nonfuel ∉ existing_fuels - ensure_column!(fuels_in, nonfuel, 0.0) - end + ensure_column!(fuels_in, nonfuel, 0.0) end # Fuel costs & CO2 emissions rate for each fuel type