urbanopt-scenario 0.4.3 → 0.4.4

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: '09379c793beea9e64cee30b6ccba3118bfd24ae52c28e05a6d0db2cdbaa2fb21'
4
- data.tar.gz: 90a07817cf8b518dea9f5960a99dd25a61d9b85e8bbdf6023e8474221dcf8b56
3
+ metadata.gz: 4fb5d83f92069dd7961985923bf74b8efd932bc734cdc98d92b4cde8d92eefe1
4
+ data.tar.gz: 8f6e9c44797b8c50699e7bf3ba8b008f6106c53639119687f3703ab7a3d9fdc6
5
5
  SHA512:
6
- metadata.gz: d617fd80384b0b6acb747a3be91c5834061131bf98a8e15d092bb153ff95bd91f224f035f2af05ff4a219ae43c8d065712c000dd38af793f71c6d9670cc11afa
7
- data.tar.gz: e88cdb5d62cbfe60bafd79ec26c76fe1117af72248cd72184f6d07f81a77cbf4d83d96426172ce6b25d1a351ac82bc0b8ee43ae08caf210a431c0ab66f98e3f7
6
+ metadata.gz: 6a7440b439fefc1278d2f33f9c3d1f9c3d15fc15dfc558400c7bda8b17657edc90e2081a52d9e5e4011483ee833f797038392ee4ddf363446c28e309f3045af6
7
+ data.tar.gz: d5802f5f10fc3f46e96fa8df5aa94dc92c43ff0ad2b20e0e2c9b81ada78fcd3304ef1886bff820e0a1b0ce4c8cf00915b0cfab0449e0f274ee523c3d90d9d18d
@@ -1,5 +1,10 @@
1
1
  # URBANopt Scenario Gem
2
2
 
3
+ ## Version 0.4.4
4
+ Date Range: 11/13/20 - 11/16/20
5
+
6
+ - Fixed [#183]( https://github.com/urbanopt/urbanopt-scenario-gem/issues/183 ), Bug in query for scenario_db output file
7
+
3
8
  ## Version 0.4.3
4
9
  Date Range: 10/01/20 - 11/12/20
5
10
 
@@ -125,9 +125,8 @@ module URBANopt
125
125
  else
126
126
  raise "Couldn't find scenario CSV: #{scenario_csv}"
127
127
  end
128
- feature_1_name = File.basename(feature_list[0]) # Get name of first feature, so we can read eplusout.sql from there
129
- uo_output_sql_file = File.join(@initialization_hash[:directory_name], feature_1_name, 'eplusout.sql')
130
128
  feature_list.each do |feature| # Loop through each feature in the scenario
129
+ uo_output_sql_file = File.join(@initialization_hash[:directory_name], File.basename(feature), 'eplusout.sql')
131
130
  feature_db = SQLite3::Database.open uo_output_sql_file
132
131
  # Doing "db.results_as_hash = true" is prettier, but in this case significantly slower.
133
132
 
@@ -30,6 +30,6 @@
30
30
 
31
31
  module URBANopt
32
32
  module Scenario
33
- VERSION = '0.4.3'.freeze
33
+ VERSION = '0.4.4'.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.4.3
4
+ version: 0.4.4
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-11-12 00:00:00.000000000 Z
12
+ date: 2020-11-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler