Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pgleeson opened this issue Mar 30, 2022 · 0 comments
Labels

Comments

@pgleeson
Copy link
Collaborator

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:

  • Test to make sure the same versions of pynwb etc. as used by the full NWBE
  • Print a short summary of some metadata (maybe just experimenter/description) and number of time series found in AcquisitionStimulus etc.

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant