-
Notifications
You must be signed in to change notification settings - Fork 56
feat: Create UI for meshing workflow. #4476
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
base: main
Are you sure you want to change the base?
Conversation
| try: | ||
| child_obj = parent[name] | ||
| except TypeError: | ||
| child_obj = getattr(parent, name.split(":")[0])[name.split(":")[-1]] |
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.
| child_obj = getattr(parent, name.split(":")[0])[name.split(":")[-1]] | |
| attr, *_, key = name.split(":") | |
| child_obj = getattr(parent, attr)[key] |
I think is a bit better and less nested
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 shouldn't be required and it will mess with the type hints for the class, I've removed all of these in a separate PR
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.
Would it be possible to add the type hint to the session_pure_meshing file here for a similar reason to my previous comment
No description provided.