Skip to content

v0.3.1

Compare
Choose a tag to compare
@CodyCBakerPhD CodyCBakerPhD released this 16 Mar 14:51
· 1520 commits to dev since this release
2941ba3

v0.3.1 API Changes

  • Output from inspect_nwb and inspect_all are now yielded generators of a simple, flat list of InspectorMessages, or raises a StopIteration if no issues are present in the file(s). To automatically calculate the list of messages, simply cast these functions as a list, e.g., list(inspect_nwb(...)).

  • Users may now create and specify configuration files that can alter the importance levels of individual check functions, as well as programmatically skip certain ones altogether. The CLI has an additional wrapper for convenience to some pre-defined configurations, such as a DANDI configuration (with the --config dandi flag) that emphasizes the types of metadata required by DANDI.

  • organize_messages from inspector_tools now supports generic hierarchical organization according to the specified levels argument.

  • Parallelization over NWBFiles is now supported for inspect_all and the CLI (with the --n-jobs flag).

  • Exposed imports of inspect_nwb and inspect_all on the outer level, e.g., from nwbinspector import inspect_all

New Checks

  • check_binary_capability for columns of dynamic tables that are candidates for binary (boolean) representation
  • check_roi_response_series_link_to_plane_segmentation for ensuring proper linkage of ophys data

Minor changes

  • Folder path iteration by inspect_all is now recursive to subfolders
  • Severity level NO_SEVERITY was removed to avoid confusion. LOW is the new default.