Open MarikeReimer opened 4 years ago
@MarikeReimer Thanks for the report. I'm not quite sure what to make of this, but it looks like it may be an error with nwbwidgets, not pynwb. I'm going to move this over there until we can figure out what the root cause is.
Just a thought, maybe Sphinx Gallery needs to be updated to create the notebooks in a new version of the notebook schema to work with nwb-widgets?
Description
I tried viewing the file created in the pynwb Calcium Imaging Data tutorial in a Jupyter notebook with NWB2Widgets. When viewing the the image segmentation group, I got an error message.
Steps to Reproduce
1) Go to: https://pynwb.readthedocs.io/en/stable/tutorials/domain/ophys.html#sphx-glr-tutorials-domain-ophys-py
2) At the bottom of the page, select Download Jupyter notebook: Ophys.ipynb
3) Open notebook and paste the following code at the bottom:
from nwbwidgets import nwb2widget io = NWBHDF5IO('ophys_example.nwb', mode='r') nwb = io.read() nwb2widget(nwb)
4) Select the processing module >ophys>ImageSegmentation.
5) After waiting a while for rendering, I got the following error:
Notebook validation failed: {'version_major': 2, 'version_minor': 0, 'model_id': '87c09359c2074c13891ca080691a0f53'} is not valid under any of the given schemas: { "version_major": 2, "version_minor": 0, "model_id": "87c09359c2074c13891ca080691a0f53" }
Environment
Checklist
(https://github.com/NeurodataWithoutBorders/pynwb/issues)?