Skip to content

FLASHApp 1.0.0

Latest

Choose a tag to compare

@t0mdavid-m t0mdavid-m released this 29 May 16:18
a89427d
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>