v0.3.1
v0.3.1 API Changes
-
Output from
inspect_nwbandinspect_allare now yielded generators of a simple, flat list ofInspectorMessages, or raises aStopIterationif 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 dandiflag) that emphasizes the types of metadata required by DANDI. -
organize_messagesfrominspector_toolsnow supports generic hierarchical organization according to the specifiedlevelsargument. -
Parallelization over NWBFiles is now supported for
inspect_alland the CLI (with the--n-jobsflag). -
Exposed imports of
inspect_nwbandinspect_allon the outer level, e.g.,from nwbinspector import inspect_all
New Checks
check_binary_capabilityfor columns of dynamic tables that are candidates for binary (boolean) representationcheck_roi_response_series_link_to_plane_segmentationfor ensuring proper linkage of ophys data
Minor changes
- Folder path iteration by
inspect_allis now recursive to subfolders SeveritylevelNO_SEVERITYwas removed to avoid confusion.LOWis the new default.