diff --git a/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.rb b/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.rb index dc479642b5..ca6e1f21e4 100644 --- a/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.rb +++ b/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.rb @@ -71,7 +71,7 @@ def convert_userdata_csv_to_json(user_data_path, project_path) # Read all valid files in user_data_folder and load into json array unless user_data_path == '' user_data_validation_outcome = true - Dir.glob("#{user_data_path}/*.csv").each do |csv_full_name| + Dir.glob("#{user_data_path.gsub('\\', '/')}/*.csv").each do |csv_full_name| csv_file_name = File.basename(csv_full_name, File.extname(csv_full_name)) if json_objs.key?(csv_file_name) # Load csv file into array of hashes diff --git a/test/90_1_prm/prm_test_decorators.rb b/test/90_1_prm/prm_test_decorators.rb index e00ca5c4dc..171d19edd2 100644 --- a/test/90_1_prm/prm_test_decorators.rb +++ b/test/90_1_prm/prm_test_decorators.rb @@ -1,4 +1,5 @@ class AppendixGPRMTests < Minitest::Test + # Add exhaust fan object to each lab zone in model # @param model def add_exhaust_fan_per_lab_zone(model)