scverse / pertpy

Perturbation Analysis in the scverse ecosystem.
https://pertpy.readthedocs.io/en/latest/
MIT License
129 stars 20 forks source link

fixed augur runtime #547

Closed zzheng18 closed 7 months ago

zzheng18 commented 7 months ago

PR Checklist

Description of changes

Changed predict function in _Augur.py so that it does not make changes to the input data. And improve speed of prediction.

Technical details

Additional context

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 63.86%. Comparing base (9dbe3bc) to head (b492762).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #547 +/- ## ======================================= Coverage 63.85% 63.86% ======================================= Files 43 43 Lines 5019 5020 +1 ======================================= + Hits 3205 3206 +1 Misses 1814 1814 ``` | [Files](https://app.codecov.io/gh/theislab/pertpy/pull/547?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=theislab) | Coverage Δ | | |---|---|---| | [pertpy/tools/\_augur.py](https://app.codecov.io/gh/theislab/pertpy/pull/547?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=theislab#diff-cGVydHB5L3Rvb2xzL19hdWd1ci5weQ==) | `66.76% <100.00%> (+0.10%)` | :arrow_up: |