honeybee-openstudio 2.6.8 → 2.6.9

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
  SHA256:
3
- metadata.gz: 7fb705400bb575a8e4fe3038562ac5189e5b1eddda3e1835bd8cd53e06d78117
4
- data.tar.gz: ac32c340ed2e8544d52d9f03d9c367a76551870f0e959a2e00bb4561637d5bac
3
+ metadata.gz: e9807e9ab401382c3e1b8e98b86e5fe65c3efa5172ddd77103964f5bf69a7a8b
4
+ data.tar.gz: bec119606bedf177e4d6c77a80f6768fddd248545c73082d5808d0245724611c
5
5
  SHA512:
6
- metadata.gz: '0239b518fa5af3d848c490553acd02bf5edd691a76ce160704f8bcd1e0b29ce084333d706c474fa63fdfebaa9af4026f163dc88123959ab79817b66518b26230'
7
- data.tar.gz: 89cc3cb015e44ff06b542df6300751be2f36270b3ddf66dac75e1d55735ddf336efb5bf03732f4f690a88f4bedec55a60039d202f8f9fa01e97b048d576ccbe8
6
+ metadata.gz: 3a68b8ffb0e9cbf31578366fde5120249016529862a1c984339b3946110c7a526de5375291d22e43f2fd565655dda0ddf1310eeec11d9d17b7c2000677e0214e
7
+ data.tar.gz: 8fddadbc9346bc173447a88a747dc4cd424966d4050a686be799fe52b64643977efe4d33b8e83269b395fc9b4233e9f08ff810a854b10c10b69e9281b0c9c982
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'honeybee-openstudio'
7
- spec.version = '2.6.8'
7
+ spec.version = '2.6.9'
8
8
  spec.authors = ['Tanushree Charan', 'Dan Macumber', 'Chris Mackey', 'Mostapha Sadeghipour Roudsari']
9
9
  spec.email = ['tanushree.charan@nrel.gov', 'chris@ladybug.tools']
10
10
 
@@ -76,15 +76,16 @@ module FromHoneybee
76
76
  space_type_object = space_type.get
77
77
  space_type_mod_obj = space_type_object.clone(openstudio_model)
78
78
  new_space_type = space_type_mod_obj.to_SpaceType.get
79
+ # give the space type a new unique name and assign it to the room
80
+ st_name = space_type_object.name
81
+ unless space_type.empty?
82
+ st_name = st_name.get
83
+ else
84
+ st_name = 'CustomSpaceType'
85
+ end
79
86
  else
80
87
  # create a new space type as there is currently none assigned to the room
81
88
  new_space_type = OpenStudio::Model::SpaceType.new(openstudio_model)
82
- end
83
- # give the space type a new unique name and assign it to the room
84
- st_name = space_type_object.name
85
- unless space_type.empty?
86
- st_name = st_name.get
87
- else
88
89
  st_name = 'CustomSpaceType'
89
90
  end
90
91
  new_space_type.setName(st_name + '_' + @hash[:identifier])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeybee-openstudio
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.8
4
+ version: 2.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanushree Charan
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2020-10-24 00:00:00.000000000 Z
14
+ date: 2020-11-21 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler