Skip to main content

Tool to inspect NWB files for best practices compliance.

Project description

PyPI version ReadTheDocs Tests codecov License

Inspect NWB files for compliance with NWB Best Practices. This inspector is meant as a companion to the pynwb validator, which checks for strict schema compliance. In contrast, this tool attempts to apply some common sense to find components of the file that are technically compliant, but probably incorrect, or suboptimal, or deviate from best practices. This tool is meant simply as a data review aid. It does not catch all best practice violations, and any warnings it does produce should be checked by a knowledgeable reviewer.

This project is under active development. You may use this as a stand-alone tool, but we do not advise you to code against this project at this time as we do expect the warnings to change as the project develops.

Installation

pip install nwbinspector

Usage

# supply a path to an NWB file
nwbinspector path/to/my/data.nwb

# supply a path to a directory containing NWB files
nwbinspector path/to/my/data/dir/

# optional: supply modules to import before reading the file, e.g., for NWB extensions
nwbinspector path/to/my/data.nwb -m my_extension_module1 my_extension_module2

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nwbinspector-0.4.4.tar.gz (40.8 kB view details)

Uploaded Source

Built Distribution

nwbinspector-0.4.4-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file nwbinspector-0.4.4.tar.gz.

File metadata

  • Download URL: nwbinspector-0.4.4.tar.gz
  • Upload date:
  • Size: 40.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for nwbinspector-0.4.4.tar.gz
Algorithm Hash digest
SHA256 f7a3814fbd49a94233e63f2108a562e1a03d8d8960825200e2dc3fcf09cc625c
MD5 b66b7cc67e6380a04a8438aa85f618ee
BLAKE2b-256 76c3f0495055e321b3193af788f60794d52b52d20cc44f199a2f856059614c1b

See more details on using hashes here.

File details

Details for the file nwbinspector-0.4.4-py3-none-any.whl.

File metadata

File hashes

Hashes for nwbinspector-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 92671400df5f7dc76b70777bd611387d07c7a5f6ddc19e0fe62a4d9361bc4b22
MD5 0c80349ad778a59fe0d450854069e6cd
BLAKE2b-256 f3a6cf5607a3ce2d6a6d5636645556b708845c5a0d5f44064f3a190080702b87

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page