Skip to content

Commit

Permalink
Changed results after 0 handling
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaS92 committed Nov 18, 2024
1 parent e96242d commit fccd60f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_DataSet.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ def test_plot_volcano_with_labels(self):
draw_line=False,
)
n_labels = len(plot.to_plotly_json().get("layout").get("annotations"))
self.assertTrue(n_labels > 20)
self.assertTrue(n_labels > 5)

def test_plot_volcano_wald(self):
"""
Expand Down Expand Up @@ -627,7 +627,7 @@ def test_plot_volcano_with_labels_proteins(self):
labels=True,
)
n_labels = len(plot.to_plotly_json().get("layout").get("annotations"))
self.assertEqual(n_labels, 20)
self.assertEqual(n_labels, 9)

def test_plot_volcano_with_labels_proteins_welch_ttest(self):
# remove gene names
Expand Down

0 comments on commit fccd60f

Please sign in to comment.