Closed Diirkk closed 1 year ago
Thanks @Diirkk!
I wasn't able to catch this one in the recent round of stress testing against IBL since they do encode that value
I'm guessing when PyNWB made those fields optional we failed to update the widgets to retrieve the column in a 'safe' manner from electrode tables where it might not exist
Going to re-open this one until @Diirkk confirms that it completely solves the issue on their end
I just pushed a new release hopefully containing the fix, can you try running
pip install -U nwbwidgets
pip show nwbwidgets # should now say '0.10.2'
in the environment you were running your notebook in and see if the issue is fixed?
The table renders smoothly now, thanks for resolving this so quickly!
What happened?
Tried to render metadata table of a local .nwb file with extracellular electrophysiological recordings. When rendering the table in 'electrodes: metadata about extracellular electrodes' an error occurs (missing 'x'). Manual printing the table in command line works.
Steps to Reproduce
create nwb file with missing 'x' values in metadata.
nwbwidgets.nwb2widget(nwbfile)
click 'electrodes: metadata about extracellular electrodes' - 'table'
Traceback
Operating System
Windows
Python Version
3.9
Package Versions
No response
Code of Conduct