From dac1e7112a924680030b8422afe6a9dc07dd1748 Mon Sep 17 00:00:00 2001 From: James Brandreth <30596689+jamesbrandreth@users.noreply.github.com> Date: Wed, 28 Aug 2024 16:47:23 +0100 Subject: [PATCH] add debug statement (#125) --- src/miade/core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/miade/core.py b/src/miade/core.py index 91d109f..e262a4c 100644 --- a/src/miade/core.py +++ b/src/miade/core.py @@ -110,6 +110,7 @@ def _load_model_factory(self, custom_annotators: Optional[List[Annotator]] = Non # get model {id: cat_model} log.info(f"Loading MedCAT models from {self.model_directory}") for model_pack_filepath in self.model_directory.glob("*.zip"): + log.debug(f"Trying to load model pack: {model_pack_filepath}") try: cat = MiADE_CAT.load_model_pack(str(model_pack_filepath), meta_cat_config_dict=meta_cat_config_dict) # temp fix reload to load stop words