Skip to content

Commit

Permalink
add necessary annotation to test
Browse files Browse the repository at this point in the history
This is the alternative to completely rewriting 1kg_chr22_5_samples
  • Loading branch information
chrisvittal committed Sep 20, 2024
1 parent 70c9260 commit d7d31cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hail/python/test/hail/vds/test_vds.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,9 @@ def test_combiner_max_len():
@test_timeout(4 * 60, local=6 * 60)
def test_split_sparse_roundtrip():
vds = hl.vds.read_vds(os.path.join(resource('vds'), '1kg_chr22_5_samples.vds'))
# this doesn't actually roundtrip because 1kg_chr22_5_samples was generated before
# we added GT to reference_data, to_merged_sparse_mt adds a reference GT
vds.reference_data = vds.reference_data.annotate_entries(LGT=hl.call(0, 0))
smt = hl.vds.to_merged_sparse_mt(vds)
smt = hl.experimental.sparse_split_multi(smt)
vds2 = hl.vds.VariantDataset.from_merged_representation(
Expand Down

0 comments on commit d7d31cb

Please sign in to comment.