-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Issue overview
Python measures fail to show up after accessing measures in OS 1.4. Seems like OS 1.4 is trying to load them. This causes them not to show up in OS 1.8.
Current Behavior
Measures no longer show up in OS 1.8.
This error appears in the measure xml after accessing measures in OS 1.4:
Unable to locate primary Ruby script path for BCLMeasure 'new_measure' located at /.../OpenStudio/Measures/new_measure 1.
Expected Behavior
Python measures should still show up in OS 1.8.
Steps to Reproduce
- Create or already have an OS measure written in python
- Open OS 1.4
- Go to measures tab or hit apply measure now in OS 1.4
- Python measure no longer shows up in OS 1.8
Possible Solution
Not sure if there is a way to do it already, but a short term fix would be being able to set a different measures directory for different OS versions should fix it. When I try to change the measures directory for OS 1.4, it also changes it for OS 1.8. A way to fix the broken measures would also be helpful.
Details
Environment
Python
Some additional details about your environment for this issue (if relevant):
- Platform (Operating system, version): Mac M3
- Version of OpenStudioApplication (if using an intermediate build, include SHA): 1.4/1.8
Context
Need a way to open OS 1.4 and not have all the Python measures break/not appear in OS 1.8.