Skip to content

Commit 830f870

Browse files
committed
popgen and windowing
1 parent 9438d6a commit 830f870

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

sgkit/stats/popgen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
import itertools
33
from typing import Hashable, Optional, Sequence, Tuple, Union
44

5-
import dask.array as da
65
import numpy as np
76
from xarray import Dataset
87

8+
import sgkit.distarray as da
99
from sgkit.cohorts import _cohorts_to_array
1010
from sgkit.stats.utils import assert_array_shape
1111
from sgkit.utils import (

sgkit/tests/test_popgen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import itertools
22

33
import allel
4-
import dask.array as da
54
import msprime # type: ignore
65
import numpy as np
76
import pytest
@@ -11,6 +10,7 @@
1110
from hypothesis import given, settings
1211
from hypothesis import strategies as st
1312

13+
import sgkit.distarray as da
1414
from sgkit import (
1515
Fst,
1616
Garud_H,

sgkit/tests/test_window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import re
22

33
import allel
4-
import dask.array as da
54
import numpy as np
65
import pandas as pd
76
import pytest
87
import xarray as xr
98

9+
import sgkit.distarray as da
1010
from sgkit import (
1111
simulate_genotype_call_dataset,
1212
window_by_interval,

sgkit/window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from typing import Any, Callable, Hashable, Iterable, Optional, Tuple, Union
22

3-
import dask.array as da
43
import numpy as np
54
from xarray import Dataset
65

6+
import sgkit.distarray as da
77
from sgkit import variables
88
from sgkit.model import get_contigs, num_contigs
99
from sgkit.utils import conditional_merge_datasets, create_dataset

0 commit comments

Comments
 (0)