Skip to content

Add Needleman-Wunsch distance as a faster alignment metric - #725

Draft
felixpetschko wants to merge 29 commits into
scverse:mainfrom
felixpetschko:performance/needleman-wunsch-cpu
Draft

Add Needleman-Wunsch distance as a faster alignment metric#725
felixpetschko wants to merge 29 commits into
scverse:mainfrom
felixpetschko:performance/needleman-wunsch-cpu

Fix alignment deprecation warning test

c1f2f33
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 6, 2026 in 0s

77.21% (target 1.00%)

View this Pull Request on Codecov

77.21% (target 1.00%)

Details

Codecov Report

❌ Patch coverage is 52.17391% with 88 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.21%. Comparing base (efe49e6) to head (c1f2f33).

Files with missing lines Patch % Lines
src/scirpy/ir_dist/metrics.py 36.49% 87 Missing ⚠️
src/scirpy/ir_dist/_substitution_matrices.py 97.77% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #725      +/-   ##
==========================================
- Coverage   78.30%   77.21%   -1.09%     
==========================================
  Files          51       52       +1     
  Lines        4628     4789     +161     
==========================================
+ Hits         3624     3698      +74     
- Misses       1004     1091      +87     
Files with missing lines Coverage Δ
src/scirpy/ir_dist/__init__.py 93.13% <100.00%> (+0.13%) ⬆️
src/scirpy/ir_dist/_substitution_matrices.py 97.77% <97.77%> (ø)
src/scirpy/ir_dist/metrics.py 51.48% <36.49%> (-5.20%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.