Skip to content

Commit 61f7a36

Browse files
committed
Fix flake8 errors
1 parent 0a9c607 commit 61f7a36

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sgkit/tests/test_stats_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def sample_dataset(draw):
107107
# Split first dimension assignment into two groups and assign second
108108
# dimension with unique names since n cols will differ
109109
dims = [
110-
(f"dim-0-{i%2}",) if i < n_1d else (f"dim-0-{i%2}", f"dim-1-{i}")
110+
(f"dim-0-{i % 2}",) if i < n_1d else (f"dim-0-{i % 2}", f"dim-1-{i}")
111111
for i in range(n_arrs)
112112
]
113113

validation/gwas/method/regenie/hail_sim.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ def get_plink_sim_dataset(n_variants=16, n_samples=4, n_contigs=2, seed=0):
4949
for s in range(n_samples):
5050
data.append(
5151
{
52-
"v": f"{c+1}:{v+1}:A:C",
53-
"s": f"S{s+1:07d}",
52+
"v": f"{c + 1}:{v + 1}:A:C",
53+
"s": f"S{s + 1:07d}",
5454
"cm": 0.1,
5555
"GT": hl.Call([rs.randint(0, 2), rs.randint(0, 2)]),
5656
}

0 commit comments

Comments
 (0)