Skip to content

Commit 1ab3389

Browse files
benjefferyjeromekelleher
authored andcommitted
Use tskit C API 1.2.0
1 parent 1df5329 commit 1ab3389

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

git-submodules/tskit

Submodule tskit updated 187 files

lib/subprojects/tskit.wrap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[wrap-file]
2-
directory = tskit-1.0.0
2+
directory = tskit-1.2.0
33

4-
source_url = https://github.com/tskit-dev/tskit/releases/download/C_1.0.0/tskit-1.0.0.tar.xz
5-
source_filename = tskit-1.0.0.tar.xz
6-
source_hash = f8a085fc6ef170706b76a307e18be4ab425f31a1f50fa9765ab2c2d81eef65c2
4+
source_url = https://github.com/tskit-dev/tskit/releases/download/C_1.2.0/tskit-1.2.0.tar.xz
5+
source_filename = tskit-1.2.0.tar.xz
6+
source_hash = f8f4c341b34df3620404ba8d6c362e3bb7257d48962373c6499871fc2e26b388

lib/tests/test_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ test_tskit_version(void)
126126
{
127127
/* Make sure we don't have any accidental changes to the tskit submodule. */
128128
CU_ASSERT_EQUAL(TSK_VERSION_MAJOR, 1);
129-
CU_ASSERT_EQUAL(TSK_VERSION_MINOR, 0);
129+
CU_ASSERT_EQUAL(TSK_VERSION_MINOR, 2);
130130
CU_ASSERT_EQUAL(TSK_VERSION_PATCH, 0);
131131
}
132132

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def get_extension():
8282
"mutgen.c",
8383
"likelihood.c",
8484
]
85-
tsk_source_files = ["core.c", "tables.c", "trees.c"]
85+
tsk_source_files = ["core.c", "tables.c", "trees.c", "genotypes.c"]
8686
kas_source_files = ["kastore.c"]
8787

8888
sources = (

tests/test_lowlevel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ def test_gsl_error_handler(self):
440440
def test_tsk_library_version(self):
441441
tsk_version = _msprime.get_tskit_c_version()
442442
# Update this when the tskit C library version changes
443-
assert tsk_version == (1, 0, 0)
443+
assert tsk_version == (1, 2, 0)
444444

445445

446446
def get_random_population_models(n):

0 commit comments

Comments
 (0)