[Bug]: PyNWB validator not using cached schema #528
Labels
category: bug
errors in the code or code behavior
priority: high
impacts proper operation or use of feature important to most users
What happened?
Using the dev branch, the PyNWB validator is not using cached extensions during validation. I think that is because we are using the
validate(io=io)
method instead of thevalidate(paths=paths)
method.https://github.com/NeurodataWithoutBorders/nwbinspector/blame/ba7d845b255e8095c72978e91b2c014675ef55d6/src/nwbinspector/_nwb_inspection.py#L277
This appears to have been changed recently to support validation with Zarr.
See also NeurodataWithoutBorders/pynwb#1777
I will look into solutions. We should add a test for this.
Operating System
macOS
Python Version
3.12
Were you streaming with ROS3?
No
Package Versions
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: