[Feature]: Change implementation of containers types to simplify API #625
Labels
category: proposal
discussion of proposed enhancements or new features
priority: low
alternative solution already working and/or relevant to only specific user(s)
topic: matnwb-api
related to improving the matnwb api
What would you like to see added to MatNWB?
Many NWB types are containers for other types, with two examples being
ProcessingModule
andFluorescence
.The syntax for setting/getting data for these containers is cumbersome:
and
A simpler way of doing this would be:
and
A similar suggestion was raised in pynwb (issue #1993) and it would be great to mirror this on the matnwb side.
Is your feature request related to a problem?
No response
What solution would you like?
Redefine container classes to have
dictionary
/Set
like behavior, while also restricting the types it is allowed to holdDo you have any interest in helping implement the feature?
Yes.
Code of Conduct
The text was updated successfully, but these errors were encountered: