Open
Description
What would you like to see added to HDMF?
When printing some NWB files in a notebook, the HTML representation is ginormous, e.g., https://github.com/dandi-ai-notebooks/000673/blob/main/2025-04-16-gpt-4o-prompt-b-4/000673.ipynb
What solution would you like?
With @bendichter @magland @oruebel, we discussed:
- After printing 5 objects of the same type in a group, do not show the full repr of the rest. Instead, print "and X more objects of data type Y with names [Z1, Z2, ...]"
- When printing the first few rows of a DynamicTable, do not print entire arrays in the cells if they are large. Or if that is not feasible, do not print the table at all.
This will make saved notebooks smaller in size for storing in Git and passing to an LLM.
Do you have any interest in helping implement the feature?
Yes.