mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-12 17:54:29 +00:00
oh right moved schemas too
This commit is contained in:
parent
8375fe1e11
commit
bb3512723f
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue