You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor Occupancy class to use Pattern A (ElectronicState gateway)
Complete Pattern A migration by refactoring the Occupancy class:
1. Remove atoms_state_ref field (deprecated Pattern B)
2. Update orbitals_state_ref description to document parent navigation
3. Update class docstring to explain ElectronicState gateway pattern
4. Update value description to remove atoms_state_ref reference
With this change, all property classes now consistently use Pattern A:
- Single orbital/entity reference pointing to ElectronicState
- Navigate to parent AtomsState via get_parent_entity()
- No circular references or dual reference patterns
All 673 tests pass with these changes.
0 commit comments