-
Notifications
You must be signed in to change notification settings - Fork 0
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
Support 4G result data #7
Conversation
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.
Teeeeeeessssssssttttttttssssssss! 😆
common methods/datasets that can be used for easy comparison.""" | ||
|
||
@property | ||
def end_use_summary_dict(self) -> dict: |
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 is returning a list, no?
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.
Related to that, getting mypy to run during pre-commit would be awesome. Why is it commented?
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.
probably because it failed tooooo much?
Co-authored-by: Nathan Moore <nathan.moore@nrel.gov>
Co-authored-by: Nathan Moore <nathan.moore@nrel.gov>
Co-authored-by: Nathan Moore <nathan.moore@nrel.gov>
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.
Okay, I added several tests on the Modelica post processing side. Still need more, but we have a start! Can we approve this and merge into your UO DES cleanup?
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.
I think reading results in a standardized manner (like this) is going to be a big benefit! Yay!
self.assertEqual(data.number_of_buildings(), 1) | ||
|
||
def test_resample_and_convert_to_df(self): | ||
"""Simple test to make sure we can load the geojson file""" |
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.
We should probably have different docstrings for the different tests. Something to do in the future.
results_base
abstract class to store data that need to be in both URBANopt results and Modelica results