lib/openstudio-standards/weather/modify.rb in openstudio-standards-0.6.3 vs lib/openstudio-standards/weather/modify.rb in openstudio-standards-0.7.0.rc1

- old
+ new

@@ -145,10 +145,10 @@ if epw_path.is_initialized if File.exist?(epw_path.get.to_s) full_epw_path = epw_path.get.to_s else # If this is an always-run Measure, need to check a different path - alt_weath_path = File.expand_path(File.join(Dir.pwd, '../../resources')) + alt_weath_path = File.expand_path(File.join(__dir__, '../../resources')) alt_epw_path = File.expand_path(File.join(alt_weath_path, epw_path.get.to_s)) if File.exist?(alt_epw_path) full_epw_path = alt_epw_path end end