Skip to content
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

Support custom tags to neurodata types #531

Open
rly opened this issue Nov 16, 2022 · 0 comments
Open

Support custom tags to neurodata types #531

rly opened this issue Nov 16, 2022 · 0 comments
Labels
category: proposal proposed enhancements or new features priority: medium non-critical problem and/or affecting only a small set of NWB users

Comments

@rly
Copy link
Contributor

rly commented Nov 16, 2022

Instead of going hierarchical & folder-y, another way I was thinking of was to tag these objects, which would be more powerful because certain time series or tables might have information about both stimulus and behavior (though rarely). Plus, such tags could then be used to query for all objects spanning across acquisition, processing and analysis, (even lab-meta-data if needed). However, except for the trials table, this does not seem feasible.

from NeurodataWithoutBorders/helpdesk#37 (reply in thread) @tuanpham96

I like the idea of tagging objects (neurodata types) with custom strings and agree - it would be more powerful than the hierarchical/folder-structure approach.

To implement this for all neurodata types, I suggest adding a 1-dimensional string attribute called "object_tags" to NWBContainer and NWBData which are the base types for all NWB groups and datasets. And we could add a convenience function in PyNWB that returns all objects with a given object tag.

@stephprince stephprince added category: proposal proposed enhancements or new features priority: medium non-critical problem and/or affecting only a small set of NWB users labels May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: proposal proposed enhancements or new features priority: medium non-critical problem and/or affecting only a small set of NWB users
Projects
None yet
Development

No branches or pull requests

2 participants