Skip to content

Preserve species-filter parity across evidence exports - #435

Merged
iskandr merged 1 commit into
mainfrom
fix/386-export-species-filters
Sep 7, 2026
Merged

Preserve species-filter parity across evidence exports#435
iskandr merged 1 commit into
mainfrom
fix/386-export-species-filters

Conversation

@iskandr

@iskandr iskandr commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Evidence exports could not select source or host species or exclude chimeric systems, although their raw loaders supported those filters. MS (including the compatibility wrapper), binding, training, peptide summaries, and all corresponding CLI commands now forward the three independent filters. Existing positional arguments and default evidence selection are preserved.

The parity regressions also exposed #434: system flags ignored the raw source-species fallback used by source filtering. A shared coalescing helper now supplies the existing classifiers in loaders and exports, retaining primary-source precedence and the raw annotations.

Validation: 109 new regressions cover exact evidence identities, independent/combined axes, aliases, lists, empty results, projections, summaries, CLI, and fallback classification. The targeted suite passes 162 tests; format and lint pass; ./test.sh passes 1,389 tests with one expected warning. A streaming audit of all 4,439,643 MS and 891,885 binding rows found zero chimeric-classification changes in the current corpus. Version: 1.58.5.

Closes #386. Closes #434.

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 34152991955

Coverage increased (+0.2%) to 83.456%

Details

  • Coverage increased (+0.2%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • 205 coverage regressions across 3 files.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

205 previously-covered lines in 3 files lost coverage.

File Lines Losing Coverage Coverage
export.py 101 90.6%
cli.py 95 55.35%
observations.py 9 96.6%

Coverage Stats

Coverage Status
Relevant Lines: 8172
Covered Lines: 6820
Line Coverage: 83.46%
Coverage Strength: 0.83 hits per line

💛 - Coveralls

@iskandr
iskandr merged commit ca5648c into main Sep 7, 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

2 participants