ValidNWBFile#

class movement.validators.files.ValidNWBFile(file)[source]#

Bases: object

Class for validating NWB files.

The validator ensures that the file is either:

  • a valid NWB file (.nwb) path, or

  • an NWBFile object.

file#

Path to the NWB file on disk (ending in “.nwb”), or an NWBFile object.

Type:

str | Path | pynwb.file.NWBFile