trying to debug on CI by abusing warnings lol

This commit is contained in:
sneakers-the-rat 2023-10-11 22:07:01 -07:00
parent f54f5a8153
commit 338369a540

View file

@ -391,11 +391,11 @@ class LinkMLProvider(Provider):
# write schemas to yaml files
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(pformat(namespace_sch))
warnings.warn('-------')
warnings.warn(pformat(built.schemas))
#warnings.warn(pformat(built.schemas))
for ns_linkml in namespace_sch:
version = ns_adapter.versions[ns_linkml.name]
version_path = self.namespace_path(ns_linkml.name, version, allow_repo=False)