From bb3512723f403e026b59bf9fad56bb972382c5e0 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Thu, 15 Aug 2024 23:38:09 -0700 Subject: [PATCH] oh right moved schemas too --- nwb_linkml/src/nwb_linkml/providers/provider.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nwb_linkml/src/nwb_linkml/providers/provider.py b/nwb_linkml/src/nwb_linkml/providers/provider.py index ea48b76..87f6567 100644 --- a/nwb_linkml/src/nwb_linkml/providers/provider.py +++ b/nwb_linkml/src/nwb_linkml/providers/provider.py @@ -94,7 +94,7 @@ class Provider(ABC): namespace_path = self.path / namespace_module if not namespace_path.exists() and namespace in ("core", "hdmf-common") and allow_repo: # return builtins - module_path = Path(importlib.util.find_spec("nwb_linkml").origin).parent + module_path = Path(importlib.util.find_spec("nwb_models").origin).parent if self.PROVIDES == "linkml": namespace_path = module_path / "schema" / "linkml" / namespace @@ -131,7 +131,7 @@ class Provider(ABC): # first get any builtins provided by the package itself # these get overwritten by - module_path = Path(importlib.util.find_spec("nwb_linkml").origin).parent + module_path = Path(importlib.util.find_spec("nwb_models").origin).parent builtin_namespaces = [] if self.PROVIDES == "linkml": namespace_path = module_path / "schema" / "linkml"