Skip to content
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

Merged
merged 9 commits into from
Apr 27, 2024
Merged

Develop #99

merged 9 commits into from
Apr 27, 2024

Conversation

chriswmackey
Copy link
Member

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.

image

Furthermore, this PR includes several unit tests to make sure that individual objects are being translated to INP correctly.

@chriswmackey chriswmackey added the enhancement New feature or request label Apr 27, 2024
@chriswmackey chriswmackey self-assigned this Apr 27, 2024
@chriswmackey chriswmackey merged commit aa59856 into ladybug-tools:develop Apr 27, 2024
5 checks passed
Copy link
Member

@mostaphaRoudsari mostaphaRoudsari left a 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.')
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants