Revision history [back]
A measure must follow a given structure. Your broken example does not follow the expected convention.
In a measure, the only top-level allowed files are:
- measure.(rb|py|xml)
 - README.md, README.md.erb
 - LICENSE.md
 
Only these subfolders are approved:
- docs
 - tests
 - resources
 
Anything outside of that is NOT copied.
This is actually documented properly: https://nrel.github.io/OpenStudio-user-documentation/reference/measure_writing_guide/#measure-file-structure
So place my_choice_constants.rb at resources/my_choice_constants.rb and adjust the require clause, and you should be good to go.
A measure must follow a given structure. Your broken example does not follow the expected convention.
In a measure, the only top-level allowed files are:
- measure.(rb|py|xml)
 - README.md, README.md.erb
 - LICENSE.md
 
Only these subfolders are approved:approved:
* docs
* tests
* resources
- docs
 - tests
 - resources
 
Anything outside of that is NOT copied.
This is actually documented properly: https://nrel.github.io/OpenStudio-user-documentation/reference/measure_writing_guide/#measure-file-structure
So place my_choice_constants.rb at resources/my_choice_constants.rb and adjust the require clause, and you should be good to go.
A measure must follow a given structure. Your broken example does not follow the expected convention.
In a measure, the only top-level allowed files are:
- measure.(rb|py|xml)
 - README.md, README.md.erb
 - LICENSE.md
 
Only these subfolders are approved: * docs * tests * resources
Anything outside of that is NOT copied.
This is actually documented properly: https://nrel.github.io/OpenStudio-user-documentation/reference/measure_writing_guide/#measure-file-structure
So place  at my_choice_constants.rbmy_choice_constants and adjust the require clause, and you should be good to go.resources/my_choice_constants.rbresources/my_choice_constants
A measure must follow a given structure. Your broken example does not follow the expected convention.
In a measure, the only top-level allowed files are:are:
* measure.(rb|py|xml)
* README.md, README.md.erb, LICENSE.md
- measure.(rb|py|xml)
 - README.md, README.md.erb
 - LICENSE.md
 
Only these subfolders are approved: * docs * tests * resources
Anything outside of that is NOT copied.
This is actually documented properly: https://nrel.github.io/OpenStudio-user-documentation/reference/measure_writing_guide/#measure-file-structure
So place my_choice_constants at resources/my_choice_constants and adjust the require clause, and you should be good to go.