From 7ffa22f6bbeee3bc84e1c2a76db0eb66166bf747 Mon Sep 17 00:00:00 2001 From: Rafael Goncalves Date: Tue, 15 Aug 2023 15:41:36 -0400 Subject: [PATCH] Fix base_iris and mapper reference in test-pypi --- test/test-pypi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-pypi.py b/test/test-pypi.py index 813fca1..54e2390 100644 --- a/test/test-pypi.py +++ b/test/test-pypi.py @@ -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)