Skip to content

Commit

Permalink
test(ontology_tools): added IC to test
Browse files Browse the repository at this point in the history
  • Loading branch information
valearna committed Jan 27, 2022
1 parent 57af851 commit 714075e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_ontology_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def setUp(self):
self.this_dir = os.path.split(__file__)[0]
self.conf_parser = GenedescConfigParser(os.path.join(self.this_dir, os.path.pardir, "tests", "config_test.yml"))
self.df = DataManager(do_relations=None, go_relations=["subClassOf", "BFO:0000050"],
expr_relations=["BFO:0000050"])
expr_relations=["subClassOf", "BFO:0000050"])
logging.basicConfig(filename=None, level="ERROR", format='%(asctime)s - %(name)s - %(levelname)s: %(message)s')

def load_go_ontology(self):
Expand All @@ -45,6 +45,7 @@ def test_load_ontology_with_loop(self):
self.this_dir, "data", "ONTOLOGY_FBBT_loop.obo"),
ontology_cache_path=os.path.join(self.this_dir, "cache", "FBBT.obo"),
config=self.conf_parser)
set_ic_ontology_struct(self.df.expression_ontology)

def test_get_common_ancestors(self):
self.load_go_ontology()
Expand Down

0 comments on commit 714075e

Please sign in to comment.