Skip to content

Commit

Permalink
Added less hypothesis in test
Browse files Browse the repository at this point in the history
  • Loading branch information
vcabeli committed Sep 5, 2023
1 parent 849e4d8 commit 5387795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_pydeseq2.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def test_deseq(tol=0.02):
assert (abs(r_res.padj - res_df.padj) / r_res.padj).max() < tol


@pytest.mark.parametrize("alt_hypothesis", ["lessAbs", "greaterAbs", "greater"])
@pytest.mark.parametrize("alt_hypothesis", ["lessAbs", "greaterAbs", "less", "greater"])
def test_alt_hypothesis(alt_hypothesis, tol=0.02):
"""Test that the outputs of the DESeq2 function match those of the original R
package, up to a tolerance in relative error, with the alternative hypothesis test.
Expand Down

0 comments on commit 5387795

Please sign in to comment.