Skip to content

Commit

Permalink
Merge pull request #8 from openproblems-bio/feature/issue-4/sc-deprec…
Browse files Browse the repository at this point in the history
…ation

Fix target_sum deprecation warning
  • Loading branch information
KaiWaldrant authored Jul 5, 2024
2 parents 1c1d064 + 67fe4c8 commit 6867a4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

* Remove dtype parameter in `.Anndata()` (PR #6).

* Fix target_sum deprecation warning in `mse` mmetric (PR #8).

## transfer from openproblems-v2 repository

Expand Down
2 changes: 1 addition & 1 deletion src/metrics/mse/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
sc.pp.normalize_total(test_data, target_sum=target_sum)
sc.pp.log1p(test_data)

sc.pp.normalize_total(denoised_data, target_sum)
sc.pp.normalize_total(denoised_data, target_sum=target_sum)
sc.pp.log1p(denoised_data)

print("Compute mse value", flush=True)
Expand Down

0 comments on commit 6867a4c

Please sign in to comment.