-
Notifications
You must be signed in to change notification settings - Fork 3
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
Develop #99
Develop #99
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.
Looks great! Just a small suggestion about the deprecation warning.
Args: | ||
model_file: Full path to a Honeybee Model file (HBJSON or HBpkl).""" | ||
try: | ||
print('This method is deprecated and you should use model-to-inp instead.') |
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 would use a DeprecationWarning here instead of print: https://docs.python.org/3/library/exceptions.html#DeprecationWarning
This PR should officially bring the development branch to have the same capabilities as master. Everything in this PR has been tested with fully-detailed Revit sample models that were imported to eQuest without errors.
Furthermore, this PR includes several unit tests to make sure that individual objects are being translated to INP correctly.