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.0.tar.gz (40.2 kB view details)

Uploaded Source

Built Distribution

nwbinspector-0.4.0-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nwbinspector-0.4.0.tar.gz
  • Upload date:
  • Size: 40.2 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.0.tar.gz
Algorithm Hash digest
SHA256 433f4f2abded2fe4779cb81682fc53408d30f972c2c28ecc75f989f06ffbc24a
MD5 443e42644856979aa48eab8daf75c7ad
BLAKE2b-256 67c73f19702a7fa7b9ba2af2ab86f55f22419a438575d92d69185f566b0a78ca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nwbinspector-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for nwbinspector-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e535ec54a64196c4c13fe8cddb3fe5912682e38ea9d2a82fdd6baefa618c18b1
MD5 0b0429588df8d0c736f0b50bc49331b1
BLAKE2b-256 27d7250217f6bd905258cc232e84592fd79f8ecd7fc6fbdc7b93aca1861c6ae8

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