Skip to main content

Tool to inspect NWB files for best practices compliance.

Project description

PyPI version 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.3.1.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

nwbinspector-0.3.1-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nwbinspector-0.3.1.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for nwbinspector-0.3.1.tar.gz
Algorithm Hash digest
SHA256 f6ee875844a45b8cb23d4517d3f1e17813157b5f28fede11ddb253ca4036ff77
MD5 79a4e9be0033b93f42ee98f68ef11121
BLAKE2b-256 e82e5a0b07eae50dcc77ac4508dd2afc4336d22935bf5fc81ea8e865a2fe8e2a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nwbinspector-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2c97aa124647749b3cd612401f57aa17ce04d581d93c9a614d679cc55eaecb6
MD5 b7a9201035559279f6f84f9b4cff9d77
BLAKE2b-256 9d9bdb14f89bb16f59c761691e813fb579316287d2b4787b651a116b5a9a504b

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