Skip to content

Commit

Permalink
popgen and windowing
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwhite committed Dec 18, 2024
1 parent 830f870 commit 65988dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sgkit/stats/cohort_numba_fns.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from functools import wraps
from typing import Callable

import dask.array as da
import numpy as np

import sgkit.distarray as da
from sgkit.accelerate import numba_guvectorize

from ..typing import ArrayLike
Expand Down
4 changes: 2 additions & 2 deletions sgkit/tests/test_cohort_numba_fns.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import dask.array as da
import numpy as np
import pytest

import sgkit.distarray as da
from sgkit.stats.cohort_numba_fns import (
cohort_mean,
cohort_nanmean,
Expand Down Expand Up @@ -41,7 +41,7 @@ def _cohort_reduction(func, x, cohort, n, axis=-1):
_random_cohort_data((20, 20), n=3, axis=-1, missing=0.3),
_random_cohort_data((7, 103, 4), n=5, axis=1, scale=7, missing=0.3),
_random_cohort_data(
((3, 4), (50, 50, 3), 4), n=5, axis=1, scale=7, dtype=np.uint8
((4, 3), (50, 50, 3), 4), n=5, axis=1, scale=7, dtype=np.uint8
),
_random_cohort_data(
((6, 6), (50, 50, 7), (3, 1)), n=5, axis=1, scale=7, missing=0.3
Expand Down

0 comments on commit 65988dd

Please sign in to comment.