NeurodataWithoutBorders / pynwb

A Python API for working with Neurodata stored in the NWB Format
https://pynwb.readthedocs.io
Other
178 stars 84 forks source link

[Feature]: Update deprecations for pynwb 3.0 #2008

Open stephprince opened 2 hours ago

stephprince commented 2 hours ago

What would you like to see added to PyNWB?

For the pynwb 3.0 major release, we plan to raise errors instead of warnings when creating new objects using deprecated classes or using deprecated methods. Deprecated types will still be able to be read.

What solution would you like?

This issue compiles a list of the classes and methods to update:

Do you have any interest in helping implement the feature?

Yes.

Code of Conduct

t-b commented 2 hours ago

Is there consensus already what the behaviour of pynwb 3.0 will be regarding reading of pynwb 2.x files? Or to rephrase will pynwb 3.x support reading files from pynwb 2.x (or compliant)?

stephprince commented 2 hours ago

@t-b I realized the phrasing of the issue was inaccurate and have updated it. To clarify, we plan to guarantee that we can read all NWB 2.0 files with pynwb 3.x but will not allow the creation of new NWB data with deprecated types.