Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make get_results work, if either no BatchCorrection or BioConservation metrics. #179

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

LArnoldt
Copy link

@LArnoldt LArnoldt commented Sep 6, 2024

Make get_results work, if either no BatchCorrection or BioConservation metrics. See ##157.

LArnoldt and others added 2 commits September 6, 2024 23:15
… metrics

Fix for all metrics in BatchCorrection or BioConservation set to zero:
- get_results: doesn't calculate total, if batch/ bio score missing
- plot_results_table: sorting via Total score or batch/ bio score
Copy link

codecov bot commented Sep 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.13%. Comparing base (876e8fd) to head (ce7f362).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #179      +/-   ##
==========================================
+ Coverage   91.08%   91.13%   +0.04%     
==========================================
  Files          26       26              
  Lines         965      970       +5     
==========================================
+ Hits          879      884       +5     
  Misses         86       86              
Files with missing lines Coverage Δ
src/scib_metrics/benchmark/_core.py 98.73% <100.00%> (+0.04%) ⬆️

@adamgayoso
Copy link
Member

This was addressed in #181, thank you for raising!

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