Skip to content

Commit

Permalink
added single pathway test
Browse files Browse the repository at this point in the history
  • Loading branch information
ntalluri committed Feb 9, 2024
1 parent 741d104 commit 45b266b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/ml/input/test-data-s4/s4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
L M 1 U
4 changes: 4 additions & 0 deletions test/ml/test_ml.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,7 @@ def test_ensemble_network(self):
def test_summarize_networks_empty(self):
with pytest.raises(ValueError):
ml.summarize_networks([INPUT_DIR + 'test-data-empty/empty.txt'])

def test_summarize_networks_single_pathway(self):
with pytest.raises(ValueError):
ml.summarize_networks([INPUT_DIR + 'test-data-s4/s4.txt'])

0 comments on commit 45b266b

Please sign in to comment.