Skip to content

Commit 01b0e09

Browse files
committed
Check if p-values, not test statstic is < alpha
1 parent 7dc4387 commit 01b0e09

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

evv4esm/extensions/ks.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,7 @@ def run(name, config):
222222
details, img_gal = main(args)
223223

224224
table_data = pd.DataFrame(details).T
225-
uc_rejections = (table_data["K-S test stat"] < args.alpha).sum()
226-
225+
uc_rejections = (table_data["K-S test p-val"] < args.alpha).sum()
227226
_hdrs = [
228227
"h0",
229228
"K-S test stat",

0 commit comments

Comments
 (0)