-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Schedule:File relative paths #1380
Conversation
@joseph-robertson Maybe I just don't follow what you're doing, but I wouldn't expect any changes are needed on the OS-HPXML side. OS-HPXML is already creating an OSM that has relative paths in it, they just need to be preserved in the IDF. It shouldn't matter what working directory is being used. |
Okay, I partly take that back. OS-HPXML is not currently creating an OSM with a relative path, but doing so just means changing this line to be a relative path. Changing the working directory is risky and should be avoided. |
I was trying to change the On a related note, this gets tricky. We need to pass a valid relative (to current working directory) path into |
I think we want both the OSM and IDF to have relative paths to the schedule file (alongside the OSM and IDF)? |
Not exactly sure how this should be reviewed. Test locally using installer at the bottom of NREL/OpenStudio#4879? Request that a docker image be created so CI can handle it? |
@joseph-robertson Are you trying to get NREL/OpenStudio#4879 into OS 3.7, or is it for the following release? |
@shorowit Sounds like OpenStudio will have a v3.7.0-rc2. And because NREL/OpenStudio#4879 seems to be working, I think it makes sense to try getting it in this upcoming release. |
Got it. If you're happy with how things are working, then it sounds like you can proceed w/ getting the OS PR merged for rc2. I assume you don't need the CI tests here to pass for that to happen. When rc2 is available, we can update the CI for this PR. |
…o schedule-file-rel-path
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Will merge once the CI comes back green.
Pull Request Description
Test NREL/OpenStudio#4879.
Checklist
PR Author: Check these when they're done. Not all may apply.
strikethroughand check any that do not apply.PR Reviewer: Verify each has been completed.
Schematron validator (EPvalidator.xml
) has been updatedSample files have been added/updated (viatasks.rb
)Tests have been added/updated (e.g.,HPXMLtoOpenStudio/tests
and/orworkflow/tests/hpxml_translator_test.rb
)Documentation has been updatedChangelog has been updatedopenstudio tasks.rb update_measures
has been run