Skip to content

Commit

Permalink
added trivial test so coverage won't complain
Browse files Browse the repository at this point in the history
  • Loading branch information
leokim-l committed Jan 6, 2025
1 parent 24de376 commit df38131
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/test_mondo_score_utils.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import unittest

from malco.post_process.mondo_score_utils import omim_mappings
from malco.post_process.ranking_utils import get_adapter


class TestOntologyUtils(unittest.TestCase):

def test_mappings(self):
mondo_input = "MONDO:0007566"
omims_output = omim_mappings(mondo_input, get_adapter("sqlite:obo:mondo"))
truth = ["OMIM:132800"]
self.assertEqual(truth, omims_output)

0 comments on commit df38131

Please sign in to comment.