From a336c560a2425511affd3e1dd6ec73d707568b3b Mon Sep 17 00:00:00 2001 From: Carlos Vega <carlos.vega@uni.lu> Date: Tue, 19 Nov 2019 17:37:58 +0100 Subject: [PATCH] fixed imports --- integration/example.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/integration/example.py b/integration/example.py index dba94f3..43e1a0c 100644 --- a/integration/example.py +++ b/integration/example.py @@ -1,7 +1,7 @@ import logging from biokb.biokb import BioKBService -from jensenLabService import JensenLabService +from jensenLabService.jensenLabService import JensenLabService logger = logging.getLogger(__name__) @@ -9,5 +9,6 @@ if __name__ == '__main__': text_mining_services = [JensenLabService(), BioKBService()] for text_mining_service in text_mining_services: print("Using service {}".format(text_mining_service.name)) - publications = text_mining_service.get_mentions(["DOID:10652", "DOID:10935"], limit=100) + publications = text_mining_service.get_mentions( + ["DOID:10652", "DOID:10935"], limit=100) print(", ".join([str(p) for p in publications])) -- GitLab