Skip to content

Source label maps#657

Open
ndilalla wants to merge 2 commits intomasterfrom
source_label_maps
Open

Source label maps#657
ndilalla wants to merge 2 commits intomasterfrom
source_label_maps

Conversation

@ndilalla
Copy link
Contributor

Implemented the feature to label only a single source (or a list of sources) in TS and residual maps (issue #623 )

  • Added label_source parameter that accepts a string (single source) or a list of source names
  • When label_source is provided, only those sources are labeled, overriding the label_ts_threshold logic
  • If label_source is not specified, the existing TS threshold behavior is used

@codecov
Copy link

codecov bot commented Feb 19, 2026

Codecov Report

❌ Patch coverage is 72.72727% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 50.80%. Comparing base (92cf94f) to head (ff8b3cc).

Files with missing lines Patch % Lines
fermipy/plotting.py 72.72% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #657   +/-   ##
=======================================
  Coverage   50.79%   50.80%           
=======================================
  Files         143      143           
  Lines       27265    27273    +8     
=======================================
+ Hits        13849    13855    +6     
- Misses      13416    13418    +2     
Flag Coverage Δ
unittests 50.80% <72.72%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

@ndilalla ndilalla requested a review from omodei February 20, 2026 03:01
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.

1 participant

Comments