Skip to content

Commit

Permalink
Fix pynwb.validate call
Browse files Browse the repository at this point in the history
  • Loading branch information
rly committed Dec 19, 2023
1 parent c958cfe commit 813b407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nwbinspector/nwbinspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ def inspect_nwbfile(
filterwarnings(action="ignore", message="Ignoring cached namespace .*")

if not skip_validate:
validation_error_list = pynwb.validate(paths=[nwbfile_path], driver=driver)
validation_error_list, _ = pynwb.validate(paths=[nwbfile_path], driver=driver)
for validation_namespace_errors in validation_error_list:
for validation_error in validation_namespace_errors:
yield InspectorMessage(
Expand Down

0 comments on commit 813b407

Please sign in to comment.