First time here? Check out the Help page!
1 | initial version |
Try putting your CSV into the resources/
subfolder.
That is given the following structure:
measure_folder/measure.xml
measure_folder/measure.rb
Put your files either as :
measure_folder/resources/file1.csv
measure_folder/resources/data/file1.csv
2 | No.2 Revision |
Try putting your CSV into the resources/
subfolder.
That is given the following structure:
measure_folder/measure.xml
measure_folder/measure.rb
Put your files either as :
measure_folder/resources/file1.csv
measure_folder/resources/data/file1.csv
Edit: I knew from memory that the resources/
subfolder would be copied along with the tests/
one, but I was having trouble finding where this would be defined. I think it's here: https://github.com/NREL/OpenStudio/blob/89408c89dc7e9f9dbf7ed258fa919ea6c2e6ce1f/src/utilities/bcl/BCLMeasure.cpp#L1106-L1135