Skip to content

Commit

Permalink
fix(results): Typo in array dict
Browse files Browse the repository at this point in the history
This causes 'array_from_states' to load the array from file everytime, instead of taking from the arrays dict, resulting in astronomical runtime.
  • Loading branch information
mikkelkp committed Jun 8, 2022
1 parent 58337d9 commit 04332b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion honeybee_radiance_postprocess/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def merge_dicts(array_dict, arrays):
extension=extension)
array = np.load(file)

array_dict = {grid_id: {light_path: {state: {type: array}}}}
array_dict = {grid_id: {light_path: {state_identifier: {type: array}}}}
arrays = merge_dicts(array_dict, self.arrays)
self.arrays = arrays

Expand Down

0 comments on commit 04332b7

Please sign in to comment.