Make stimulus/presentation
and stimulus/templates
groups (and maybe all root-level groups) optional
#573
Labels
category: enhancement
improvements of code or code behavior
priority: low
alternative solution already working and/or relevant to only specific user(s)
This is the smallest of quality-of-life issues.
It would be nice if
stimulus/presentation
andstimulus/templates
were made optional so that if empty, they are not included in the NWB file.Many (most?) NWB files do not include stimulus information. Because
presentation
andtemplates
are required groups instimulus
, thestimulus
group is not empty. As a result, it is not clear from looking at the raw NWB HDF5 file at the root level in common vis tools (e.g., HDFView, Neurosift) whether any stimulus data is present. I must navigate through topresentation
andtemplates
.Similarly, but less annoying, most NWB files do not include data in the
analysis
group, some do not include data inacquisition
, and some do not include data inprocessing
, but all of these groups are required. (intervals
,units
, andscratch
are already optional.general
andspecifications
are required but always have something.) When empty, they can serve as placeholders to signal to a user that nothing is there, but at the same time, I think it would be nice/cleaner just to not have them in the first place. What do you think about making these root-level groups optional so they are only written if they have data?The text was updated successfully, but these errors were encountered: