Skip to content

Commit

Permalink
refactor: add missing update_if_weekend
Browse files Browse the repository at this point in the history
  • Loading branch information
dmuldrew committed Jan 19, 2023
1 parent 59924f9 commit 2f3b94c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ def smart_charging(
newdata = data_helper.update_if_weekend(newdata)
elif veh_type.lower() == "ldt":
newdata = data_helper.remove_ldv(data_helper.load_data(census_region, filepath))
# updates the weekend and weekday values in the nhts data
newdata = data_helper.update_if_weekend(newdata)
elif veh_type.lower() == "mdv":
newdata = data_helper.load_hdv_data("mhdv", filepath)
elif veh_type.lower() == "hdv":
Expand Down

0 comments on commit 2f3b94c

Please sign in to comment.