v0.3.1
v0.3.1 API Changes
-
Output from
inspect_nwb
andinspect_all
are now yielded generators of a simple, flat list ofInspectorMessages
, or raises aStopIteration
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
frominspector_tools
now supports generic hierarchical organization according to the specifiedlevels
argument. -
Parallelization over NWBFiles is now supported for
inspect_all
and the CLI (with the--n-jobs
flag). -
Exposed imports of
inspect_nwb
andinspect_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) representationcheck_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
levelNO_SEVERITY
was removed to avoid confusion.LOW
is the new default.