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 9438d6a commit 830f870
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sgkit/stats/popgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import itertools
from typing import Hashable, Optional, Sequence, Tuple, Union

import dask.array as da
import numpy as np
from xarray import Dataset

import sgkit.distarray as da
from sgkit.cohorts import _cohorts_to_array
from sgkit.stats.utils import assert_array_shape
from sgkit.utils import (
Expand Down
2 changes: 1 addition & 1 deletion sgkit/tests/test_popgen.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import itertools

import allel
import dask.array as da
import msprime # type: ignore
import numpy as np
import pytest
Expand All @@ -11,6 +10,7 @@
from hypothesis import given, settings
from hypothesis import strategies as st

import sgkit.distarray as da
from sgkit import (
Fst,
Garud_H,
Expand Down
2 changes: 1 addition & 1 deletion sgkit/tests/test_window.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import re

import allel
import dask.array as da
import numpy as np
import pandas as pd
import pytest
import xarray as xr

import sgkit.distarray as da
from sgkit import (
simulate_genotype_call_dataset,
window_by_interval,
Expand Down
2 changes: 1 addition & 1 deletion sgkit/window.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from typing import Any, Callable, Hashable, Iterable, Optional, Tuple, Union

import dask.array as da
import numpy as np
from xarray import Dataset

import sgkit.distarray as da
from sgkit import variables
from sgkit.model import get_contigs, num_contigs
from sgkit.utils import conditional_merge_datasets, create_dataset
Expand Down

0 comments on commit 830f870

Please sign in to comment.