Skip to content

Commit

Permalink
ignore 'Any' ashrae_90_1_prm .jsons in update
Browse files Browse the repository at this point in the history
  • Loading branch information
mdahlhausen committed Sep 11, 2024
1 parent fec57fb commit 7b45970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/standards/manage_OpenStudio_Standards.rb
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ def export_spreadsheet_to_json(spreadsheet_titles, dataset_type: 'os_stds')
dirs.each { |d| d == 'ALL' ? new_dirs << '*' : new_dirs << "*#{d}*" }
glob_string = "#{standards_dir}/#{new_dirs.join('/')}"
puts "--spreadsheet title embedded search criteria: #{glob_string} yields:"
# template_dirs = Dir.glob(glob_string).select { |f| File.directory?(f) && !f.include?('data') && !f.include?('prm')}
template_dirs = Dir.glob(glob_string).select { |f| File.directory?(f) && !f.include?('data')}
template_dirs = Dir.glob(glob_string).select { |f| File.directory?(f) && !f.include?('data') && !f.include?('ashrae_90_1_prm') }
# template_dirs = Dir.glob(glob_string).select { |f| File.directory?(f) && !f.include?('data') }
template_dirs.each do |template_dir|
puts "----#{template_dir}"
end
Expand Down

0 comments on commit 7b45970

Please sign in to comment.