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

Selection Refactor #735

Merged
merged 3 commits into from
Feb 12, 2025
Merged

Selection Refactor #735

merged 3 commits into from
Feb 12, 2025

Conversation

BradyAJohnston
Copy link
Owner

This pull request introduces a comprehensive refactor of the selection logic within the codebase. Key changes include:

  • Refactored the selection mechanism for trajectories, they now reference the UIListItem items for their properties rather than trying to maintain data between two locations
  • Removed the dynamic naming feature for selections, simplifying the naming process. Was a hassle to get working and couldn't sync when changing
  • Enhanced error handling in the set_atom_group method, ensuring robust exception management and improved logging.
  • Updated the selection naming logic in the MN_OT_Universe_Selection_Add operator to guarantee unique names are generated dynamically.

Enhance the `set_atom_group` method to include error handling for 
atom selection, capturing exceptions and logging relevant messages. 
Refactor the selection naming logic in the `MN_OT_Universe_Selection_Add` 
operator to ensure unique selection names are generated dynamically.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move 'Selections' attributes to lookup from actual selection items
1 participant