Skip to content

[Bug]: PYNWB_VALIDATION when using ndx-miniscope extension #1777

@weiglszonja

Description

@weiglszonja

What happened?

When running nwbinspector on a file that uses ndx-miniscope to add Miniscope device, it flags a PYNWB_VALIDATION for the ImagingPlane as:

1  PYNWB_VALIDATION
===================

1.1  /Users/weian/catalystneuro/demo_notebooks/C6-J588-Disc5.nwb: ImagingPlane - 'None' object at location 'general/optophysiology/ImagingPlane'
       Message: missing data type Device (device)

However the device looks correctly linked to ImagingPlane:

Screenshot 2023-09-27 at 13 21 34

Operating System

M1 macOS

Python Version

3.9

Were you streaming with ROS3?

No

Package Versions

nwbinspector 0.4.30
ndx-miniscope 0.5.1

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • Have you ensured this bug was not already reported?
  • To the best of your ability, have you ensured this is a bug within the code that checks the NWBFile, rather than a bug in the NWBFile reader (e.g., PyNWB or MatNWB)?

Metadata

Metadata

Assignees

Labels

category: bugerrors in the code or code behaviorpriority: mediumnon-critical problem and/or affecting only a small set of NWB userstopic: validatorissues related to validation of files

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions