-
Notifications
You must be signed in to change notification settings - Fork 40
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
refactor: add get_base_grid() to states #528
refactor: add get_base_grid() to states #528
Conversation
Nice, the implementation looks good to me. One other thing I would consider is updating the usages of |
f665895
to
26f50e8
Compare
@jon-hagg I used |
The code is clear, and it simplifies the logic within the One comment is that with the variable renaming from |
@goccert25 good call - I would also support switching to |
26f50e8
to
741aa40
Compare
741aa40
to
4399e73
Compare
@jon-hagg done @danielolsen renamed the Feel free to approve and merge whenever, I rebased on develop as of the time of this comment |
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.
LGTM
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.
Thanks!
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, thanks!
Pull Request doc
Purpose
What is the larger goal of this change?
To pay down some tech debt and hopefully make PowerSimData codebase more maintainable
What the code is doing
How is the purpose executed?
Removing many similar/copy and pasted calls to initialize the original Grid that a scenario was derived from via information from the scenario object
Testing
How did you test this change (unit/functional testing, manual testing, etc.)?
Existing unit tests
Time estimate
How long will it take for reviewers and observers to understand this code change?
20 minutes