MetaCell / nwb-explorer

NWB Explorer is a web application to visualise and analyse the content of NWB:N 2 files
Other
22 stars 16 forks source link

Add a simple Python script to answer the question: should this NWB file be loadable by NWBE? #293

Open pgleeson opened 2 years ago

pgleeson commented 2 years ago

Motivation

It can be difficult/time consuming to figure out whether an issue loading an NWB file in the online browser is down to the NWB file itself, a feature missing in NWBE, babdwidth issues etc.

Proposal

Make a simple standalone script test_compatibility.py at the top level of this repo which can be run by python test_compatibility.py MyNWBfile.nwb which will test whether NWBE should be able to load the file. It should:

This can be used on a user's local machine for debugging issues. At a later stage it can be integrated into NWBE (on OSB) so that you can just type test_compatibility(MyNWBfile.nwb) into the python console to check if an NWB file in your workspace can be loaded (or just preview it).