pynwb icon indicating copy to clipboard operation
pynwb copied to clipboard

[Bug]: OpticalSeries distance, orientation, and field of view should be optional

Open rly opened this issue 1 year ago • 0 comments

What happened?

The current schema says that these fields should be optional: https://github.com/NeurodataWithoutBorders/nwb-schema/blob/dev/core/nwb.image.yaml#L131

The docval for OpticalSeries.__init__ says that they are required: https://github.com/NeurodataWithoutBorders/pynwb/blob/dev/src/pynwb/image.py#L321

Steps to Reproduce

Try to create an OpticalSeries without optional fields

Traceback

No response

Operating System

macOS

Python Executable

Conda

Python Version

3.10

Package Versions

No response

Code of Conduct

rly avatar Jan 05 '23 02:01 rly