Skip to content

Commit

Permalink
comment out immutable dict wrapper for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
aspeake committed Jul 10, 2024
1 parent e560f7b commit 6cb3ccf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scout/ecm_prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6cb3ccf

Please sign in to comment.