urbanopt-scenario 0.2.0.pre1 → 0.2.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 847e8530e8228d7da2fde5cec196a753fec8e75f
4
- data.tar.gz: 7f569e96654a4d303e55f13b957cd897d4b1b3cf
3
+ metadata.gz: c30cc0b50e26c5a2800687bb0f17e4f4e9584a97
4
+ data.tar.gz: e03adccb2d7d9115389194fe0cb446d34f872984
5
5
  SHA512:
6
- metadata.gz: d22714ec7814ee422e77528b3beb029631cd5db211cb423e07e9e3c57501ac5adf08f0e47c856cc1e0ee41e7f5a96917eb9903e0ece0b8226d99ddb3c7a0842e
7
- data.tar.gz: 94c41dcb39c2d180f65890341173903b18c3f723b51d7782be039cb6d774b1fb8dca7afd75f9324daf826c1c89eeb2595c9e41b2260287238a3f18169e818387
6
+ metadata.gz: 4c8f5ef9d42cedf144b96d314d712f7ba78a9c54af6ec1ffeb5198eaa374e843e441f741bd1f05d9d7ee225c83ccb3b5d0edf05066b4638dcc36866f5f95da24
7
+ data.tar.gz: 842b3e3d0dbbdca6622476399072a9f9c85f36e82c05a50fb1017b7dc0aefb031f558b81632102513c880bbca9b1f0e9a991c9d7ea8cc35f73d942807735486c
@@ -744,7 +744,7 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
744
744
  os_vec = values[key_cnt]
745
745
  if !timeseries_name.include? 'Zone Thermal Comfort'
746
746
  for i in 0..os_vec.length - 1
747
- unless new_unit == old_unit
747
+ unless new_unit == old_unit || !ts.is_initialized
748
748
  os_vec[i] = OpenStudio.convert(os_vec[i], old_unit, new_unit).get
749
749
  end
750
750
  end
@@ -30,6 +30,6 @@
30
30
 
31
31
  module URBANopt
32
32
  module Scenario
33
- VERSION = '0.2.0.pre1'.freeze
33
+ VERSION = '0.2.0.pre2'.freeze
34
34
  end
35
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: urbanopt-scenario
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.pre1
4
+ version: 0.2.0.pre2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rawad El Kontar
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-03-11 00:00:00.000000000 Z
12
+ date: 2020-03-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler