AllenInstitute / openscope_databook

OpenScope databook: a collaborative, versioned, data-centric collection of foundational analyses for reproducible systems neuroscience 🐁🧠🔬🖥️📈
https://alleninstitute.github.io/openscope_databook
Other
63 stars 19 forks source link

use latest html repr for neurodata objects #299

Closed bendichter closed 1 year ago

bendichter commented 1 year ago
image

I noticed a few places like this in the notebooks where you are printing neurodata objects. This is totally fine to so, but I wanted to make you aware of a new feature that you might prefer. With the latest version of PyNWB, now you can repr an object (the last line would change from print(eye_tracking) to simply eye_tracking) and it will output an interactive tree that represents the entire neurodata object, e.g.

image
rcpeene commented 1 year ago

Ah, thanks for letting us know! I just happened to notice this on Friday as well. Will make these changes.