-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat: parse results including geothermal and dfo gens #18
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.
The 'possible' list has been updated to be based on a pre-existing set of keys. |
for r in resources: | ||
if r not in possible: | ||
if r not in self.type2label.keys(): |
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.
self is not accessible in function, need to pass it.
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.
Is there a reason we are using staticmethods in most of the _check functions, but not all?
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.
That is a question for @rouille ...
This class will need some rework but for now we try to get it to work. Let me do the changes.
be67e9e
to
967f9b5
Compare
Add parsing capability for geothermal and dfo (fuel oil) generators. Slight re-organization to improve readability.