Skip to content

[Feature]: Specify core namespace when creating the NamespaceCatalog #2064

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
stephprince opened this issue Apr 9, 2025 · 0 comments · Fixed by #2077
Closed
3 tasks done

[Feature]: Specify core namespace when creating the NamespaceCatalog #2064

stephprince opened this issue Apr 9, 2025 · 0 comments · Fixed by #2077
Assignees
Labels
category: enhancement improvements of code or code behavior priority: medium non-critical problem and/or affecting only a small set of NWB users topic: HDMF issues related to the use, depending on, or affecting HDMF

Comments

@stephprince
Copy link
Contributor

What would you like to see added to PyNWB?

Once hdmf-dev/hdmf#1258 is merged and released, the pynwb init file should be updated here to include "core" as a core_namespace:

__ns_catalog = NamespaceCatalog(NWBGroupSpec, NWBDatasetSpec, NWBNamespace)
.

Is your feature request related to a problem?

No response

What solution would you like?

Update the code to:

__ns_catalog = NamespaceCatalog(NWBGroupSpec, NWBDatasetSpec, NWBNamespace, core_namespace=CORE_NAMESPACE)

This update will limit the number of warnings about "ignoring cached namespace(s)" for core spec versions that should be back-compatible.

Do you have any interest in helping implement the feature?

Yes.

Code of Conduct

@stephprince stephprince self-assigned this Apr 9, 2025
@stephprince stephprince added category: enhancement improvements of code or code behavior priority: medium non-critical problem and/or affecting only a small set of NWB users topic: HDMF issues related to the use, depending on, or affecting HDMF labels Apr 9, 2025
@rly rly closed this as completed in #2077 Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: enhancement improvements of code or code behavior priority: medium non-critical problem and/or affecting only a small set of NWB users topic: HDMF issues related to the use, depending on, or affecting HDMF
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant