Skip to content

Commit 4e117c9

Browse files
eric-czechmergify[bot]
authored andcommitted
Add link to dask issue
1 parent 3b3d7da commit 4e117c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sgkit/stats/association.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ def linear_regression(
9696
T = B / np.sqrt(RSS / dof / XLPS)
9797
assert T.shape == (n_loop_covar, n_outcome)
9898
# Match to p-values
99-
# Note: t dist not implemented in Dask so this must be delayed
99+
# Note: t dist not implemented in Dask so this must be delayed,
100+
# see https://github.com/dask/dask/issues/6857
100101
P = da.map_blocks(
101102
lambda t: 2 * stats.distributions.t.sf(np.abs(t), dof), T, dtype="float64"
102103
)

0 commit comments

Comments
 (0)