Skip to content

Add pytest for r_computematrix (salvage of #1369)#1433

Merged
adRn-s merged 1 commit into
4.0.0from
salvage-1369-computematrix
Jul 8, 2026
Merged

Add pytest for r_computematrix (salvage of #1369)#1433
adRn-s merged 1 commit into
4.0.0from
salvage-1369-computematrix

Conversation

@adRn-s

@adRn-s adRn-s commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Salvages the compatible part of #1369 (stalled). Keeps only the test_r_computeMatrix.py test, which passes against the current Rust bindings.

Dropped from #1369 (do not merge those as-is):

  • test_r_alignmentsieve.pyalignmentSieve2 is not yet wired up on 4.0.0 (CLI entry point commented out; Python wrapper passes 15 args while the compiled binding requires 17). Also panics on empty blacklist path.
  • test_r_bamCompare.py / test_r_bamCoverage.py — the Rust function signatures have since changed (e.g. bamCoverage now requires collapse; bamCompare gained sf1/sf2, split pseudocounts, etc.), so the positional calls no longer line up.

Verified locally with pixi run build && pixi run pytest test_r_computeMatrix.py — 2 passed.

Original author: @gerikson. Partially supersedes #1369.

🤖 Generated with Claude Code

Salvaged from #1369: keeps only the computeMatrix test, which passes
against the current Rust bindings. The alignmentSieve, bamCompare and
bamCoverage tests from that PR were dropped because their Rust function
signatures have since changed (and alignmentSieve2 is not yet wired up
on 4.0.0).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@adRn-s adRn-s merged commit 7b948d3 into 4.0.0 Jul 8, 2026
37 checks passed
@adRn-s adRn-s deleted the salvage-1369-computematrix branch July 8, 2026 15:53
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.

2 participants