Skip to content

enh: allow to hide the traces of individual fluorescence channels - #249

Merged
paulmueller merged 3 commits into
DC-analysis:mainfrom
paulmueller-agent:enh/hide-fl-traces
Nov 20, 2026
Merged

paulmueller merged 3 commits into
DC-analysis:mainfrom
paulmueller-agent:enh/hide-fl-traces

Conversation

@paulmueller-agent

@paulmueller-agent paulmueller-agent commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Closes #200

New checkboxes in the Fluorescence traces section of the Quick View event panel, one per fluorescence channel. Unchecking a channel hides its traces (raw and median); the choice is kept when browsing through the events.

  • The checkboxes are labeled with the channel names of the dataset (e.g. "CD66-PE"). They are only shown for channels for which the dataset has traces.
  • The selection is part of the Quick View state ("trace channels" in the event state; missing in older states means all channels are shown).

Docs: the description of the Event panel in sec_interface.rst mentions the checkboxes. The Quick View screenshots (ui_qv_event.png, ui_qv_settings.png, ui_qv_poly.png) were regenerated with make_scrots_ui.py. The Quick View is 17 px taller because of the additional row.

Test: test_hide_fluorescence_channel_traces_issue_200 (labels, hiding FL-2 raw and median traces, still hidden for the next event, showing again). The Quick View and session tests pass locally.

Also: fixes the flaky test_trace_baseline_offset_issue_81 (#247), which failed on macOS CI for this PR. The trace plots initially contain placeholder data (10 points), so the test's wait for yData is not None returned before the event data were shown. The test now waits until the plotted traces match the expected data.

🤖 Generated with Claude Code

paulmueller and others added 2 commits November 20, 2026 08:23
…-analysis#200)

New checkboxes (labeled with the channel names) above the trace plot
in the event panel of the Quick View.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.90%. Comparing base (d899b59) to head (e69e1a9).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #249      +/-   ##
==========================================
+ Coverage   76.84%   76.90%   +0.06%     
==========================================
  Files          76       76              
  Lines        8524     8536      +12     
==========================================
+ Hits         6550     6565      +15     
+ Misses       1974     1971       -3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

The trace plots initially contain placeholder data (10 points), so
waiting for `yData is not None` returned immediately and the test
failed on macOS CI when the event data were not shown yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@paulmueller
paulmueller merged commit a441c5a into DC-analysis:main Nov 20, 2026
5 checks passed
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.

Fluorescence: Allow to hide individual fluorescence traces.

2 participants