-
Notifications
You must be signed in to change notification settings - Fork 57
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
Clean up options_lookup.tsv in github actions #962
Conversation
…cfcf9 2224e6cfcf9 Merge pull request NREL#974 from NREL/buildreshpxml_validation 5690f8cddf6 Merge branch 'master' into buildreshpxml_validation 82aa7c1e1ba Cleanup. e30122ae250 Merge pull request NREL#977 from NREL/epvalidator_cleanup 3c8e6682ca5 Clean up apply_defaults arg. f9a982fd307 Remove test. ea76e6bddb9 Misc cleanup to EPvalidator.xml. Remove more elements that don't need to be included because they are required by the XSD schema. c05535eb5f0 Minor cleanup. 9b6360253bd Merge branch 'master' of https://github.com/NREL/OpenStudio-HPXML into buildreshpxml_validation 98f7bee5ed5 Merge pull request NREL#975 from NREL/ci_improvements b30ad295e9a Merge branch 'master' of https://github.com/NREL/OpenStudio-HPXML into ci_improvements 8e71a4a6760 Fix coverage? 5081166736c Need to run bundle 029d399af05 Bugfix. 0f2285c5806 Splits unit tests and workflow tests into parallel CI jobs. Also fixes NREL#962. c7b50d42ce3 Unrelated cleanup. 3c960583b4a BuildResidentialHPXML measure: Adds an optional argument for whether the HPXML file is validated; defaults to false. Most workflows were validating the HPXML twice (once at the end of BuildResidentialHPXML and once at the beginning of HPXMLtoOpenStudio), which incurs a performance penalty. We now only apply validation in the BuildResidentialHPXML measure in special circumstances (e.g., creating sample files and unit tests). git-subtree-dir: resources/hpxml-measures git-subtree-split: 2224e6cfcf913ac7815b8f4688b250ee5c86f924
f42677f
to
68a4e25
Compare
40a5599
to
138f41d
Compare
3891acc
to
e73ffc1
Compare
e73ffc1
to
40702db
Compare
@joseph-robertson : The functionality seems to be working. I am a little confused why the Do you have any thoughts? See attached screenshot of the most recent artifact from 259f732. |
@afontani The set of samples has changed. Looks like sampling is a function of the options_lookup. You can pretty easily verify this by doing a |
@joseph-robertson : Good catch! |
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.
This looks good to me. Bummer we can't confirm simulation results don't change (because of the samples changing), but I don't see anything in this PR that would affect them anyway.
@@ -251,7 +288,7 @@ jobs: | |||
|
|||
update-results: | |||
runs-on: ubuntu-latest | |||
needs: [integration-tests] | |||
needs: [format-files,integration-tests] |
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.
👍
@@ -300,6 +343,7 @@ jobs: | |||
cp -r results/upgrades/timeseries/*.csv test/base_results/upgrades/timeseries | |||
git add test/base_results | |||
git add docs | |||
git add resources/options_lookup.tsv |
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 like the artifact download correctly places the options_lookup.tsv in the resources folder. So that's good - no copy necessary.
Yes. Agreed. |
Pull Request Description
In an effort to clean up
resources/options_lookup.tsv
, this sets a standard for what the file should look like. The.gitattributes
determines the line ending style. Then trailing whitespace (tabs inserted by Excel), and ordering of values are automatically updated using github actions. The hope is that diffs for new features are easier to look at, conflicts are easier to resolve, and characteristics/options are easier to find.Updates to
options_lookup.tsv
Checklist
Not all may apply:
openstudio tasks.rb update_measures
has been run