Skip to content

qcatch: Add doublet detection test#10126

Open
an-altosian wants to merge 2 commits intonf-core:masterfrom
an-altosian:qcatch-doublet-test
Open

qcatch: Add doublet detection test#10126
an-altosian wants to merge 2 commits intonf-core:masterfrom
an-altosian:qcatch-doublet-test

Conversation

@an-altosian
Copy link
Contributor

@an-altosian an-altosian commented Feb 22, 2026

Address nf-test concerns for the qcatch module in #10125.

Summary

  • Add test_qcatch - remove_doublets test that exercises the --remove_doublets code path requiring scikit-image
  • Uses file size > 0 assertions for non-deterministic outputs (scrublet results vary across CPU architectures due to BLAS/LAPACK differences)
  • Snapshots versions.yml for deterministic validation
  • Follows nf-core assertion guidelines for handling unstable content

Addresses review feedback from @mashehu on #10125.

Test plan

  • All 3 tests pass locally with Docker (base, doublet, stub)
  • CI passes all shards (docker, conda, singularity)

🤖 Generated with Claude Code

@an-altosian
Copy link
Contributor Author

@mashehu any comments?

- Add test_qcatch - remove_doublets test exercising the --remove_doublets
  code path. Uses file size > 0 assertions for non-deterministic outputs
  and snapshots versions.yml.
- Update qcatch to 0.2.11 (bundles scikit-image, removes need for
  separate scikit-image pip dependency)
- Update container images to 0.2.11
- Use https link for Singularity container

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

3 participants