From 6cb3ccf8191683dc621ada7f30704f2e883a032c Mon Sep 17 00:00:00 2001 From: aspeake1 Date: Tue, 9 Jul 2024 21:52:31 -0600 Subject: [PATCH] comment out immutable dict wrapper for testing --- scout/ecm_prep.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scout/ecm_prep.py b/scout/ecm_prep.py index d9c2ad55..b5c88b28 100644 --- a/scout/ecm_prep.py +++ b/scout/ecm_prep.py @@ -1608,7 +1608,7 @@ def __init__(self, base_dir, handyfiles, opts, allow_overwrite=False): "windows solar", "equipment gain", "people gain", "other heat gain") self._allow_overwrite = allow_overwrite - self._wrap_dicts() + # self._wrap_dicts() self._initialized = True def _wrap_dicts(self): @@ -2063,8 +2063,8 @@ def __init__( # self.handyvars = copy.deepcopy(handyvars) self.handyvars = handyvars self.sf_to_house = {} - self.tsv_hourly_price = copy.deepcopy(handyvars.tsv_hourly_price.to_dict()) - self.tsv_hourly_emissions = copy.deepcopy(handyvars.tsv_hourly_emissions.to_dict()) + self.tsv_hourly_price = copy.deepcopy(handyvars.tsv_hourly_price) + self.tsv_hourly_emissions = copy.deepcopy(handyvars.tsv_hourly_emissions) # Set the rate of baseline retrofitting for ECM stock-and-flow calcs try: # Check first to see whether pulling up retrofit rate errors