honeybee-radiance-postprocess 0.4.546__py2.py3-none-any.whl → 0.4.548__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -426,9 +426,9 @@ def leed_states_schedule(
426
426
  states_schedule[key] = value
427
427
  else:
428
428
  if use_states:
429
- merged_array = np.logical_or(states_schedule[key], value).astype(int)
429
+ merged_array = np.logical_or(np.array(states_schedule[key]), np.array(value)).astype(int)
430
430
  else:
431
- merged_array = np.minimum(states_schedule[key], value)
431
+ merged_array = np.minimum(np.array(states_schedule[key]), np.array(value))
432
432
  states_schedule[key] = merged_array
433
433
 
434
434
  occupancy_hoys = schedule_to_hoys(schedule, results.sun_up_hours)
@@ -85,16 +85,7 @@ class _ResultsFolder(object):
85
85
  assert isinstance(grid_info, dict), \
86
86
  'Object in grids information must be a dictionary. ' \
87
87
  f'Got object of type {type(grid_info)}.'
88
- if 'light_path' in grid_info.keys():
89
- _grid_info = []
90
- for light_path in grid_info['light_path']:
91
- if Path(self.folder, light_path[0]).exists():
92
- _grid_info.append((light_path))
93
- grid_info['light_path'] = _grid_info
94
- if not grid_info['light_path']:
95
- # if light path is empty
96
- grid_info['light_path'] = [['__static_apertures__']]
97
- else:
88
+ if not grid_info.get('light_path', None):
98
89
  # if light path key is nonexistent
99
90
  grid_info['light_path'] = [['__static_apertures__']]
100
91
  self._grids_info = grids_info
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: honeybee-radiance-postprocess
3
- Version: 0.4.546
3
+ Version: 0.4.548
4
4
  Summary: Postprocessing of Radiance results and matrices
5
5
  Home-page: https://github.com/ladybug-tools/honeybee-radiance-postprocess
6
6
  Author: Ladybug Tools
@@ -13,7 +13,7 @@ Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
13
13
  Classifier: Operating System :: OS Independent
14
14
  Description-Content-Type: text/markdown
15
15
  License-File: LICENSE
16
- Requires-Dist: honeybee-radiance==1.66.183
16
+ Requires-Dist: honeybee-radiance==1.66.184
17
17
  Requires-Dist: numpy<2.0.0
18
18
 
19
19
  [![Build Status](https://github.com/ladybug-tools/honeybee-radiance-postprocess/actions/workflows/ci.yaml/badge.svg)](https://github.com/ladybug-tools/honeybee-radiance-postprocess/actions)
@@ -34,17 +34,17 @@ honeybee_radiance_postprocess/ies/__init__.py,sha256=kQXElEqFnLGNnrMSpA51XDHoqBu
34
34
  honeybee_radiance_postprocess/ies/lm.py,sha256=6oT4XzWwr6njKRBjY0xL9TzBqQUAeQLwzen57BHOp4E,9746
35
35
  honeybee_radiance_postprocess/ies/lm_schedule.py,sha256=nZlORbRQvPiA8VeRfh7ML8cMAYUxmHOgsNCxAHuOr18,10042
36
36
  honeybee_radiance_postprocess/leed/__init__.py,sha256=kQXElEqFnLGNnrMSpA51XDHoqBup849FHeAqWASIy6w,45
37
- honeybee_radiance_postprocess/leed/leed.py,sha256=LEIS9xqUInm7VLtVy4vby8CgfY-SkGoeHrS1z-NN_x4,35867
37
+ honeybee_radiance_postprocess/leed/leed.py,sha256=yGaUP_wR-BjEQgPmKUZCOuSVvITkiiIiCbEu2pYlSJw,35907
38
38
  honeybee_radiance_postprocess/leed/leed_schedule.py,sha256=8NUISE6RbENK1IgMA5cC2-UorrvwwQi1rKPPZr0KNZE,10279
39
39
  honeybee_radiance_postprocess/results/__init__.py,sha256=1agBQbfT4Tf8KqSZzlfKYX8MeZryY4jJ1KB4HWqaDDk,182
40
40
  honeybee_radiance_postprocess/results/annual_daylight.py,sha256=NsAhcM3y-ereTnI3yWX_3C7IXxRH-uulDulndu2aYV4,34629
41
41
  honeybee_radiance_postprocess/results/annual_irradiance.py,sha256=nA1VubesNDtRxgXpHSZxFMV67XxUntIHIu5H9qtDBSk,8483
42
- honeybee_radiance_postprocess/results/results.py,sha256=-IMLhcjTW1jHbt1EhWoCfFCAaIwlvexUbwUxOghXTAM,57053
42
+ honeybee_radiance_postprocess/results/results.py,sha256=vzvM_W8hV0fMzprVjBaS8p-KataYHBt1oZDfKqRY5hY,56608
43
43
  honeybee_radiance_postprocess/well/__init__.py,sha256=kQXElEqFnLGNnrMSpA51XDHoqBup849FHeAqWASIy6w,45
44
44
  honeybee_radiance_postprocess/well/well.py,sha256=KO0BOs4-P_PnsGFfasoz1xgaNac4zqOQ9JqTjmMapuU,22598
45
- honeybee_radiance_postprocess-0.4.546.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
46
- honeybee_radiance_postprocess-0.4.546.dist-info/METADATA,sha256=RO8JjeC4gdnI-P-LKpKy9CFbM07gK1VkXiEkJkpbbOI,2238
47
- honeybee_radiance_postprocess-0.4.546.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
48
- honeybee_radiance_postprocess-0.4.546.dist-info/entry_points.txt,sha256=gFtVPx6UItXt27GfEZZO00eOZChJJEL6JwGSAB_O3rs,96
49
- honeybee_radiance_postprocess-0.4.546.dist-info/top_level.txt,sha256=4-sFbzy7ewP2EDqJV3jeFlAFx7SuxtoBBELWaKAnLdA,30
50
- honeybee_radiance_postprocess-0.4.546.dist-info/RECORD,,
45
+ honeybee_radiance_postprocess-0.4.548.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
46
+ honeybee_radiance_postprocess-0.4.548.dist-info/METADATA,sha256=Kv6RPyh_HQTbflN1GKdAEoR5OkZluRxyVIVzFD9Q9F8,2238
47
+ honeybee_radiance_postprocess-0.4.548.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
48
+ honeybee_radiance_postprocess-0.4.548.dist-info/entry_points.txt,sha256=gFtVPx6UItXt27GfEZZO00eOZChJJEL6JwGSAB_O3rs,96
49
+ honeybee_radiance_postprocess-0.4.548.dist-info/top_level.txt,sha256=4-sFbzy7ewP2EDqJV3jeFlAFx7SuxtoBBELWaKAnLdA,30
50
+ honeybee_radiance_postprocess-0.4.548.dist-info/RECORD,,