lib/openstudio/weather/epw.rb in openstudio-analysis-1.0.0 vs lib/openstudio/weather/epw.rb in openstudio-analysis-1.0.1

- old
+ new

@@ -1,7 +1,7 @@ # ******************************************************************************* -# OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. +# OpenStudio(R), Copyright (c) 2008-2019, Alliance for Sustainable Energy, LLC. # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # (1) Redistributions of source code must retain the above copyright notice, @@ -152,10 +152,10 @@ # initialize def process_header header_section = true row_count = 0 - CSV.foreach(@filename, 'r') do |row| + CSV.foreach(@filename) do |row| row_count += 1 if header_section if row[0] =~ /data.periods/i @data_period = {