openstudio-analysis 0.1.15 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/lib/openstudio/analysis/translator/excel.rb +2 -1
  3. data/lib/openstudio/analysis/version.rb +1 -1
  4. data/spec/files/analysis/medium_office.json +192 -192
  5. data/spec/files/analysis/medium_office.zip +0 -0
  6. data/spec/files/export/analysis/Kats model v2.json +461 -0
  7. data/spec/files/export/analysis/Kats model v2.zip +0 -0
  8. data/spec/files/export/analysis/discrete_dynamic_seed.json +461 -0
  9. data/spec/files/export/analysis/discrete_dynamic_seed.zip +0 -0
  10. data/spec/files/export/analysis/discrete_seed.json +736 -0
  11. data/spec/files/export/analysis/discrete_seed.zip +0 -0
  12. data/spec/files/export/analysis/output_vars.json +707 -0
  13. data/spec/files/export/analysis/output_vars.zip +0 -0
  14. data/spec/files/export/analysis/small_seed.json +665 -0
  15. data/spec/files/export/analysis/small_seed.zip +0 -0
  16. data/spec/files/template_0_2_0_simpletest.xlsx +0 -0
  17. data/spec/files/{~$template_0_2_0.xlsx → ~$template_0_2_0_simpletest.xlsx} +0 -0
  18. data/spec/openstudio/analysis/translator/excel_spec.rb +316 -289
  19. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.64.xml +9 -0
  20. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.64.xml +9 -0
  21. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.64.xml +7 -0
  22. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.22.xml +18 -0
  23. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.6.xml +17 -0
  24. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.64.xml +20 -0
  25. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.30.xml +9 -0
  26. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.36.xml +9 -0
  27. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.16.xml +36 -0
  28. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.13.xml +21 -0
  29. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.64.xml +9 -0
  30. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.64.xml +9 -0
  31. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.64.xml +23 -0
  32. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.64.xml +9 -0
  33. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.13.xml +13 -0
  34. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.xml +32 -0
  35. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.64.xml +7 -0
  36. metadata +60 -6
  37. data/spec/files/~$template_input_0.1.10.xlsx +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b16f296f89a1dbe94f95e907a8f7eafa261b76f3
4
- data.tar.gz: 4c131cc63684fcb87af057a40a6c75ff437d3610
3
+ metadata.gz: d469b01b41e34a2532d51c4fee63d0b8d9ed2f48
4
+ data.tar.gz: 4826616b6e98102ecbaba4643189a919d2722f3d
5
5
  SHA512:
6
- metadata.gz: c932b7ce49ef739984ebbee116e7aa986239086b00ac825c15dc80af6cca9bd6c533cdb3d0b8a910a7bcfa2f69ac7027263f88a8d39ff36ad9bed12de8105ac1
7
- data.tar.gz: 9d20828d34d3c926145f7839969092b98509ab82710ea846d7d609889d79bf3fb6ff065430828511defa547338709191aa2d072650d66b579a6f6e620bb8b575
6
+ metadata.gz: d4c0ec3e4fd6f679aca4f3dc2ea5b8f573e1bbe47c42077b3281da349893f97bbbefce73b1121ceaee3ac798fad6bde2b9e1104ba729a0c93fd414258dbf0ac5
7
+ data.tar.gz: d429af8696a0284fff428f1af84894c95690395af39cbceb6bddb11ef40bf3ccdebe22d1387508aafbb94d807e0f6ef83a7f7fa9f59397e2abd54006ae124834
@@ -663,7 +663,8 @@ module OpenStudio
663
663
  data['data'][measure_index]['name'] = measure_name
664
664
  data['data'][measure_index]['enabled'] = row[:enabled] == "TRUE" ? true : false
665
665
  data['data'][measure_index]['measure_file_name'] = row[:measure_file_name_or_var_display_name]
666
- data['data'][measure_index]['measure_file_name_directory'] = row[:measure_file_name_directory]
666
+ data['data'][measure_index]['measure_file_name_directory'] = row[:measure_file_name_directory] ?
667
+ row[:measure_file_name_directory] : row[:measure_file_name_or_var_display_name].underscore
667
668
  data['data'][measure_index]['measure_type'] = row[:measure_type_or_parameter_name_in_measure]
668
669
  data['data'][measure_index]['version'] = @version_id
669
670
 
@@ -1,5 +1,5 @@
1
1
  module OpenStudio
2
2
  module Analysis
3
- VERSION = "0.1.15"
3
+ VERSION = "0.1.16"
4
4
  end
5
5
  end