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

Commit 71f71d4

Browse files
authored
Merge pull request #3 from YosefLab/tests
tests init
2 parents ac70d3e + c60b0a7 commit 71f71d4

File tree

5 files changed

+10
-1
lines changed

5 files changed

+10
-1
lines changed

codecov.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ coverage:
44
status:
55
project:
66
default:
7-
target: 85%
7+
target: 80%
88
threshold: 1%
99
patch: off

docs/release_notes/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ Version 0.1
99
.. toctree::
1010
:maxdepth: 2
1111

12+
v0.1.1
1213
v0.1.0

docs/release_notes/v0.1.1.rst

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
New in 0.1.1 (2020-01-25)
2+
-------------------------
3+
Add more documentation.

tests/__init__.py

Whitespace-only changes.

tests/test_skeleton.py

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ def test_mymodel():
77
adata = synthetic_iid()
88
model = MyModel(adata, n_latent=n_latent)
99
model.train(1, check_val_every_n_epoch=1, train_size=0.5)
10+
model.get_elbo()
11+
model.get_latent_representation()
12+
model.get_marginal_ll(n_mc_samples=5)
13+
model.get_reconstruction_error()
14+
model.history
1015

1116
# tests __repr__
1217
print(model)

0 commit comments

Comments
 (0)