Skip to content

Commit

Permalink
Fix flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwhite committed Oct 11, 2024
1 parent 0a9c607 commit 61f7a36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sgkit/tests/test_stats_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def sample_dataset(draw):
# Split first dimension assignment into two groups and assign second
# dimension with unique names since n cols will differ
dims = [
(f"dim-0-{i%2}",) if i < n_1d else (f"dim-0-{i%2}", f"dim-1-{i}")
(f"dim-0-{i % 2}",) if i < n_1d else (f"dim-0-{i % 2}", f"dim-1-{i}")
for i in range(n_arrs)
]

Expand Down
4 changes: 2 additions & 2 deletions validation/gwas/method/regenie/hail_sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def get_plink_sim_dataset(n_variants=16, n_samples=4, n_contigs=2, seed=0):
for s in range(n_samples):
data.append(
{
"v": f"{c+1}:{v+1}:A:C",
"s": f"S{s+1:07d}",
"v": f"{c + 1}:{v + 1}:A:C",
"s": f"S{s + 1:07d}",
"cm": 0.1,
"GT": hl.Call([rs.randint(0, 2), rs.randint(0, 2)]),
}
Expand Down

0 comments on commit 61f7a36

Please sign in to comment.