Skip to content

Commit

Permalink
cyvcf2
Browse files Browse the repository at this point in the history
  • Loading branch information
benjeffery committed Nov 7, 2022
1 parent bcdb5ea commit 236ac2b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions requirements/CI-tests-conda/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ lmdb==0.9.29
msprime==1.1.1
numcodecs==0.9.1
python-lmdb==1.3.0

3 changes: 1 addition & 2 deletions requirements/CI-tests-pip/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ seaborn==0.11.2
sortedcontainers==2.4.0
tqdm==4.64.0
tskit==0.5.3

# Held at 1.21.6 for sgkit compat
numpy==1.21.6
# Held at 1.3.5 for sgkit compat
pandas==1.3.5
# Held at 2.10.3 for sgkit compat
zarr==2.10.3
sgkit[vcf]==0.5.0
sgkit[vcf]==0.5.0;platform_system!="Windows"
4 changes: 4 additions & 0 deletions tests/test_sgkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,17 @@
"""
Tests for the data files.
"""
import sys

import msprime
import numpy as np
import pytest
import sgkit.io.vcf

import tsinfer


@pytest.mark.skipif(sys.platform == "win32", reason="No cyvcf2 on windows")
def test_sgkit_dataset(tmp_path):
ts = msprime.sim_ancestry(
samples=50,
Expand Down

0 comments on commit 236ac2b

Please sign in to comment.