Skip to content

Commit 15c393c

Browse files
committed
comments
1 parent 61cab11 commit 15c393c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

python/test_json_metadata.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,19 @@ def setup_ts():
2727

2828

2929
def test_individual_metadata():
30+
# NOTE: the assertions here rely on knowing
31+
# what examples/json_metadata.rs put into the
32+
# metadata!
3033
ts = setup_ts()
3134
md = ts.individual(0).metadata
3235
assert md["name"] == "Jerome"
3336
assert md["phenotypes"] == [0, 1, 2, 0]
3437

3538

3639
def test_mutation_metadata():
40+
# NOTE: the assertions here rely on knowing
41+
# what examples/json_metadata.rs put into the
42+
# metadata!
3743
ts = setup_ts()
3844
md = ts.mutation(0).metadata
3945
assert np.isclose(md["effect_size"], -1e-3)

0 commit comments

Comments
 (0)