mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-10 16:54:29 +00:00
get correct path for provider
This commit is contained in:
parent
ccf267babd
commit
b283e8b0bf
2 changed files with 5 additions and 1 deletions
4
docs/api/nwb_linkml/types/index.md
Normal file
4
docs/api/nwb_linkml/types/index.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# Types
|
||||||
|
|
||||||
|
Special types for nwb_linkml :)
|
||||||
|
|
|
@ -155,7 +155,7 @@ class Provider(ABC):
|
||||||
if self.PROVIDES == 'linkml':
|
if self.PROVIDES == 'linkml':
|
||||||
namespace_path = module_path / 'schema'
|
namespace_path = module_path / 'schema'
|
||||||
elif self.PROVIDES == 'pydantic':
|
elif self.PROVIDES == 'pydantic':
|
||||||
namespace_path = module_path / 'models'
|
namespace_path = module_path / 'models' / 'pydantic'
|
||||||
|
|
||||||
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