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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix selection clears not propagating; rebuild js-component bundle (#89)
The frontend now round-trips a cleared selection as null/None (so deselecting an
amino acid or switching proteoform propagates across the component iframes).
update/filter use the "key not in selection_store" convention, so drop
None-valued keys before computing data, while still echoing the full state
(incl. nulls) back to the frontend so it can clear those fields everywhere.
- src/render/render.py: pass an active_state without None values to
update_data/filter_data; keep echoing the full state in selection_store.
- tests/test_selection_clear.py: pin the StateTracker round-trip invariants
(cleared field echoed as None but absent for the data computation).
- js-component/dist: rebuilt Vue bundle including the matching frontend fix.
https://claude.ai/code/session_01TWkpASnLwnhMAQRxuYFpNs
Co-authored-by: Claude <noreply@anthropic.com>