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)