-
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
Cpp cleanup #67
Cpp cleanup #67
Conversation
…rence schema rather than only in-file.
Description: "Base schema for ASHRAE 205 representations" | ||
Version: "0.2.0" | ||
References: | ||
- "ASHRAE205" |
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.
Because the HeatSourceTemplate is in the ASHRAE205 schema, it becomes a dependency for the CPP generator (the derived classes need to know where to find & scope the base class from. I posted a question on Slack about this issue...
lattice/file_io.py
Outdated
elif ext in [".h", ".cpp", ".txt"]: | ||
with open(output_file_path, "w", encoding="utf-8") as src: | ||
src.write(content) | ||
src.write("\n") |
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 doesn't seem to fit here. content
should be a dictionary.
This is a bit of an omnibus:
Also, this branch includes work done on other unmerged branches, so they've come along for the ride (improved documentation, build support files.)