Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix/pyviz #31

Merged
merged 3 commits into from
Feb 18, 2025
Merged

Fix/pyviz #31

merged 3 commits into from
Feb 18, 2025

Conversation

jaredstrader
Copy link

A minor change to make the python visualizer work with recent sparpk_dsg update + added remove_layer binding.

Copy link
Collaborator

@nathanhhughes nathanhhughes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@jaredstrader
Copy link
Author

jaredstrader commented Feb 8, 2025

@nathanhhughes Maybe, this is intentional, but there seems to be references to nodes in the removed layers (e.g., deleting a room node fails after removing the building node as it thinks the parent still exists). I updated to remove nodes before removing the layer. Does this make sense?

@nathanhhughes
Copy link
Collaborator

Yeah, not intentional (I recently added the ability to remove a layer but hadn't needed to use it yet). I'll probably tweak the implementation slightly after it's merged, but it makes sense and is the correct behavior. Idk what happened with CI, but good to (squash and) merge whenever you're ready

@nathanhhughes nathanhhughes force-pushed the feature/auto_abstractions branch from eaab6f2 to 83b1d9d Compare February 18, 2025 15:36
@nathanhhughes nathanhhughes merged commit c0b51a9 into feature/auto_abstractions Feb 18, 2025
1 of 4 checks passed
@nathanhhughes nathanhhughes deleted the fix/pyviz branch February 18, 2025 20:08
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants