Skip to main content

Tool to inspect NWB files for best practices compliance.

Project description

PyPI version Tests codecov documentation License

A set of internal tools to help 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.2.3.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

nwbinspector-0.2.3-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nwbinspector-0.2.3.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for nwbinspector-0.2.3.tar.gz
Algorithm Hash digest
SHA256 aaed8ace5e71829ac6353966b073890b369ecdabab10e2cf68059273d2546187
MD5 528beb029fb19455e5443475487c661b
BLAKE2b-256 387d4cd3b36861e7d57e8e5122459f9bce7149c44062c5761caebe883aef0c82

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nwbinspector-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for nwbinspector-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2fb1edf8e8cb0e2bde69035f898885a038b41f1fba1f082da28aab6824900664
MD5 81c45114cf48be028be5b39232ad8b22
BLAKE2b-256 3bf6b4dde48d24faa9e67a4adf5ad96b9f23c29397f86b15c67372d2314bd6af

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