Skip to content

Commit 9de9b00

Browse files
committed
style: fix formatting
1 parent 6b8c6ff commit 9de9b00

4 files changed

Lines changed: 3 additions & 2 deletions

File tree

malariagen_data/anoph/distance.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ def biallelic_diplotype_pairwise_distances(
171171
if return_dataset:
172172
import xarray as xr
173173
from scipy.spatial.distance import squareform
174+
174175
dist_square = squareform(dist)
175176
ds = xr.Dataset(
176177
data_vars={

malariagen_data/anoph/hapclust.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ def haplotype_pairwise_distances(
260260
if return_dataset:
261261
import xarray as xr
262262
from scipy.spatial.distance import squareform
263+
263264
dist_square = squareform(dist)
264265
ds = xr.Dataset(
265266
data_vars={

malariagen_data/anoph/snp_data.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1570,8 +1570,6 @@ def snp_allele_counts(
15701570

15711571
return ac
15721572

1573-
1574-
15751573
@_check_types
15761574
@doc(
15771575
summary="""

tests/anoph/test_distance.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ def check_biallelic_diplotype_pairwise_distance(*, api, data_params, metric):
142142
**data_params,
143143
)
144144
import xarray as xr
145+
145146
assert isinstance(ds, xr.Dataset)
146147
assert "dist" in ds
147148
assert "sample_id" in ds.coords

0 commit comments

Comments
 (0)