NeurodataWithoutBorders / nwbwidgets

Explore the hierarchical structure of NWB 2.0 files and visualize data with Jupyter widgets.
https://nwb-widgets.readthedocs.io/en/latest/
Other
48 stars 21 forks source link

[Feature]: prevent selection of incompatible raster grid facets #271

Closed CodyCBakerPhD closed 1 month ago

CodyCBakerPhD commented 1 year ago

What would you like to see added to NWB Widgets?

For complex trial tables, it's possible to find cases of the rows/cols facet of the raster grid where there are actually no co-occurrences of the categorical conditions, such as

Screen Shot 2023-02-14 at 10 54 45 PM

in this particular case it makes sense when you understand the trial setup, because each trial is either contrast_left or contrast_right, but not both

Might be nice to prevent these types of non-sensical joint selections altogether at the dropdown selector level

Do you have any interest in helping implement the feature?

Yes.

Code of Conduct