mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2025-01-10 14:14:27 +00:00
trying to debug on CI by abusing warnings lol
This commit is contained in:
parent
f54f5a8153
commit
338369a540
1 changed files with 2 additions and 2 deletions
|
@ -391,11 +391,11 @@ class LinkMLProvider(Provider):
|
||||||
# write schemas to yaml files
|
# write schemas to yaml files
|
||||||
build_result = {}
|
build_result = {}
|
||||||
|
|
||||||
namespace_sch = [sch for sch in built.schemas if 'is_namespace' in sch.annotations and sch.annotations['is_namespace'].value == 'True']
|
namespace_sch = [sch for sch in built.schemas if 'is_namespace' in sch.annotations and sch.annotations['is_namespace'].value in ('True', True)]
|
||||||
warnings.warn('WITHIN SCHEMA PROVIDER BUILD')
|
warnings.warn('WITHIN SCHEMA PROVIDER BUILD')
|
||||||
warnings.warn(pformat(namespace_sch))
|
warnings.warn(pformat(namespace_sch))
|
||||||
warnings.warn('-------')
|
warnings.warn('-------')
|
||||||
warnings.warn(pformat(built.schemas))
|
#warnings.warn(pformat(built.schemas))
|
||||||
for ns_linkml in namespace_sch:
|
for ns_linkml in namespace_sch:
|
||||||
version = ns_adapter.versions[ns_linkml.name]
|
version = ns_adapter.versions[ns_linkml.name]
|
||||||
version_path = self.namespace_path(ns_linkml.name, version, allow_repo=False)
|
version_path = self.namespace_path(ns_linkml.name, version, allow_repo=False)
|
||||||
|
|
Loading…
Reference in a new issue