Repository navigation
Total Ion Current (TIC) feature, end to end.
Feature:
- New 'Total Ion Current view' card on the data-visualization page: XCalibur-style plot (X: Time in min, Y: Relative abundance 0-100), opens with the tab's last file by default, and a plot click loads that file's TIC curve.
- GET /api/file/tic/{checksum}: returns the stored TIC series (gz1: blob, text/plain); 404 when the file has no TIC.
The companion Atlas change (atlas main dc331f6) extracts the full TIC series from the RAW/mzML in EXTRACT_METADATA and submits it as a gz1: blob to the tic table (best-effort PUT).
Fixes:
- TIC GET declares produces=text/plain (content negotiation answered application/json for the raw blob, breaking the JSON-typed client request).
- Missing TIC answers a clean 404 via an explicit ResponseEntity (the exception handler's sendError(404) misbehaved as 406 on the produces=text/plain mapping).
- TIC panel title after a plot click: the clicked file is resolved via /api/file/checksum/ (full file) instead of /api/file/name/ (which only returns the checksum).
- Cross-tab isolation: the plot-click broadcast is filtered per panel by sample type category (a click on another tab used to steal the file and render the plot in a hidden, zero-width container).
- File registration enforces the isLastFile guard (409 'not the last file' for out-of-order re-submissions).