Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3 from YosefLab/tests
Browse files Browse the repository at this point in the history
tests init
  • Loading branch information
adamgayoso authored Jan 26, 2021
2 parents ac70d3e + c60b0a7 commit 71f71d4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ coverage:
status:
project:
default:
target: 85%
target: 80%
threshold: 1%
patch: off
1 change: 1 addition & 0 deletions docs/release_notes/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ Version 0.1
.. toctree::
:maxdepth: 2

v0.1.1
v0.1.0
3 changes: 3 additions & 0 deletions docs/release_notes/v0.1.1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
New in 0.1.1 (2020-01-25)
-------------------------
Add more documentation.
Empty file added tests/__init__.py
Empty file.
5 changes: 5 additions & 0 deletions tests/test_skeleton.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ def test_mymodel():
adata = synthetic_iid()
model = MyModel(adata, n_latent=n_latent)
model.train(1, check_val_every_n_epoch=1, train_size=0.5)
model.get_elbo()
model.get_latent_representation()
model.get_marginal_ll(n_mc_samples=5)
model.get_reconstruction_error()
model.history

# tests __repr__
print(model)

0 comments on commit 71f71d4

Please sign in to comment.