Skip to content

Commit

Permalink
Merge pull request #6 from openproblems-bio/feature/issue-3/deprecate…
Browse files Browse the repository at this point in the history
…-dtype

Deprecate dtype
  • Loading branch information
KaiWaldrant authored Jul 5, 2024
2 parents 0921fb0 + 7bb2773 commit 1c1d064
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@

## NEW FUNCTIONALITY

* Add `CHANGELOG.md` (PR #7)
* Add `CHANGELOG.md` (PR #7).

## MINOR CHANGES

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


## transfer from openproblems-v2 repository

Expand Down
4 changes: 2 additions & 2 deletions src/metrics/mse/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
input_denoised = ad.read_h5ad(par['input_prediction'])
input_test = ad.read_h5ad(par['input_test'])

test_data = ad.AnnData(X=input_test.layers["counts"], dtype="float")
denoised_data = ad.AnnData(X=input_denoised.layers["denoised"], dtype="float")
test_data = ad.AnnData(X=input_test.layers["counts"])
denoised_data = ad.AnnData(X=input_denoised.layers["denoised"])

print("Normalize data", flush=True)

Expand Down

0 comments on commit 1c1d064

Please sign in to comment.