Skip to content
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

ResStock-HPXML #208

Merged
merged 97 commits into from Mar 2, 2022
Merged

ResStock-HPXML #208

merged 97 commits into from Mar 2, 2022

Conversation

joseph-robertson
Copy link
Contributor

@joseph-robertson joseph-robertson commented Feb 17, 2021

Pull Request Description

Closes NREL/resstock#725.

This is the companion PR to: NREL/resstock#443

Checklist

Not all may apply

  • Code changes (must work)
  • Tests exercising your feature/bug fix (check coverage report on CircleCI build -> Artifacts)
  • All other unit tests passing
  • Update validation for project config yaml file changes
  • Update existing documentation
  • Run a small batch run to make sure it all works (local is fine, unless an Eagle specific feature)
  • Add to the changelog_dev.rst file and propose migration text in the pull request

@joseph-robertson joseph-robertson self-assigned this Feb 17, 2021
Copy link
Member

@nmerket nmerket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was fast. A few comments below.

buildstockbatch/aws/aws.py Outdated Show resolved Hide resolved
Comment on lines 41 to 43
# http://openstudio-builds.s3-website-us-east-1.amazonaws.com
DEFAULT_OS_VERSION = '3.1.0'
DEFAULT_OS_SHA = 'e165090621'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we talked about we need to find a way (eventually) to make this dependent on which workflow you're using. Need to coordinate with ComStock.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nmerket Idea: Pull openstudio version from resstock's __version__.py file? https://github.com/NREL/resstock/blob/develop/resources/__version__.py#L5

buildstockbatch/eagle.py Outdated Show resolved Hide resolved
docs/workflow_generators/residential_hpxml.rst Outdated Show resolved Hide resolved
@joseph-robertson joseph-robertson marked this pull request as ready for review February 9, 2022 22:08
@joseph-robertson
Copy link
Contributor Author

joseph-robertson commented Feb 10, 2022

@nmerket @rajeee Maybe we can incorporate "new tests" on this branch? It's needed for resstock, and current tests are failing anyways.

@github-actions
Copy link

github-actions bot commented Feb 16, 2022

File Coverage
All files 80%
base.py 84%
eagle.py 71%
exc.py 57%
localdocker.py 27%
postprocessing.py 89%
utils.py 96%
sampler/base.py 69%
sampler/downselect.py 33%
sampler/precomputed.py 93%
sampler/residential_quota.py 50%
test/test_validation.py 97%
workflow_generator/base.py 90%
workflow_generator/commercial.py 24%
workflow_generator/residential.py 96%
workflow_generator/residential_hpxml.py 61%

Minimum allowed coverage is 24%

Generated by 🐒 cobertura-action against 5b6296a

Copy link
Member

@nmerket nmerket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good. It seems like you've been using it for a while now and it's working. There's some stuff I'd like to generalize more like bind mounts, but I think we can do that with another PR.

@nmerket nmerket merged commit f60c0e1 into develop Mar 2, 2022
@nmerket nmerket deleted the restructure-v3 branch March 2, 2022 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update buildstockbatch workflow generator
4 participants