From 338369a540a14cfe159707c967b8986f4b4c65b7 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Wed, 11 Oct 2023 22:07:01 -0700 Subject: [PATCH] trying to debug on CI by abusing warnings lol --- nwb_linkml/src/nwb_linkml/providers/schema.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nwb_linkml/src/nwb_linkml/providers/schema.py b/nwb_linkml/src/nwb_linkml/providers/schema.py index 8daa845..ca553fb 100644 --- a/nwb_linkml/src/nwb_linkml/providers/schema.py +++ b/nwb_linkml/src/nwb_linkml/providers/schema.py @@ -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)