mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-10 00:34:29 +00:00
ok but really actually correct paths
This commit is contained in:
parent
b283e8b0bf
commit
94c204e8ea
1 changed files with 2 additions and 2 deletions
|
@ -153,9 +153,9 @@ class Provider(ABC):
|
||||||
module_path = Path(importlib.util.find_spec('nwb_linkml').origin).parent
|
module_path = Path(importlib.util.find_spec('nwb_linkml').origin).parent
|
||||||
|
|
||||||
if self.PROVIDES == 'linkml':
|
if self.PROVIDES == 'linkml':
|
||||||
namespace_path = module_path / 'schema'
|
namespace_path = module_path / 'schema' / 'linkml' / namespace
|
||||||
elif self.PROVIDES == 'pydantic':
|
elif self.PROVIDES == 'pydantic':
|
||||||
namespace_path = module_path / 'models' / 'pydantic'
|
namespace_path = module_path / 'models' / 'pydantic' / namespace
|
||||||
|
|
||||||
if version is not None:
|
if version is not None:
|
||||||
version_path = namespace_path / version_module_case(version)
|
version_path = namespace_path / version_module_case(version)
|
||||||
|
|
Loading…
Reference in a new issue