Skip to content

Commit

Permalink
Fix base_iris and mapper reference in test-pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
rsgoncalves committed Aug 15, 2023
1 parent 8e85ee7 commit 7ffa22f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test-pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ def main():
text2term.map_terms(["fever", "headache"], "https://github.com/EBISPOT/efo/releases/download/current/efo.owl")
text2term.cache_ontology("https://github.com/EBISPOT/efo/releases/download/current/efo.owl", "EFO")
text2term.map_terms(["fever", "headache"], "EFO", use_cache=True)
text2term.map_terms(["fever", "headache"], "EFO", base_iris=("www."), mapper=text2term.mapper.Mapper.levenshtein, max_mappings=4, use_cache=True)
text2term.map_terms(["fever", "headache"], "EFO", base_iris=("http://www.ebi.ac.uk/efo",), mapper=text2term.mapper.Mapper.LEVENSHTEIN, max_mappings=4, use_cache=True)

# Properties and classes tests
text2term.map_terms(["fever", "headache"], "EFO", term_type="classes", use_cache=True)
text2term.map_terms(["contains", "location"], "EFO", term_type="properties", use_cache=True)
Expand Down

0 comments on commit 7ffa22f

Please sign in to comment.