Skip to content

Commit 65988dd

Browse files
committed
popgen and windowing
1 parent 830f870 commit 65988dd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sgkit/stats/cohort_numba_fns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from functools import wraps
22
from typing import Callable
33

4-
import dask.array as da
54
import numpy as np
65

6+
import sgkit.distarray as da
77
from sgkit.accelerate import numba_guvectorize
88

99
from ..typing import ArrayLike

sgkit/tests/test_cohort_numba_fns.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import dask.array as da
21
import numpy as np
32
import pytest
43

4+
import sgkit.distarray as da
55
from sgkit.stats.cohort_numba_fns import (
66
cohort_mean,
77
cohort_nanmean,
@@ -41,7 +41,7 @@ def _cohort_reduction(func, x, cohort, n, axis=-1):
4141
_random_cohort_data((20, 20), n=3, axis=-1, missing=0.3),
4242
_random_cohort_data((7, 103, 4), n=5, axis=1, scale=7, missing=0.3),
4343
_random_cohort_data(
44-
((3, 4), (50, 50, 3), 4), n=5, axis=1, scale=7, dtype=np.uint8
44+
((4, 3), (50, 50, 3), 4), n=5, axis=1, scale=7, dtype=np.uint8
4545
),
4646
_random_cohort_data(
4747
((6, 6), (50, 50, 7), (3, 1)), n=5, axis=1, scale=7, missing=0.3

0 commit comments

Comments
 (0)