Skip to content

Commit

Permalink
fix(folder): Use full_id instead of identifier in combined receiver
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelkp committed Dec 6, 2022
1 parent 6433920 commit d6580c6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions honeybee_radiance_folder/folder.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,14 +634,15 @@ def combined_receivers(self, folder='receiver', auto_mtx_path=False):
continue
# write combined receiver for grid
receiver_file = combined_receiver(
grid['identifier'],
grid['full_id'],
apt_group_folder,
aperture_groups,
rec_folder, add_output_header=auto_mtx_path
)
receivers_info.append(
{
'identifier': grid['identifier'],
'full_id': grid['full_id'],
'count': grid['count'],
'path': receiver_file,
'aperture_groups': aperture_groups
Expand Down Expand Up @@ -921,7 +922,7 @@ def grid_info(self, is_model=False):

def grid_data_all(self, info_from_model=False):
""" This is an internal function that for a specified info_json, returns the
consolidated grid data ,that includes grid names,counts and identifiers, as a
consolidated grid data, that includes grid names,counts and identifiers, as a
single dictionary.
Args:
Expand All @@ -938,8 +939,6 @@ def grid_data_all(self, info_from_model=False):
if not grid_info:
return None
else:
for grid in grid_info:
grid.pop('full_id')
return grid_info

def write(self, folder_type=0, cfg=None, overwrite=False):
Expand Down

0 comments on commit d6580c6

Please sign in to comment.