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]: Warn if writing a file does not end in appropriate extension #1976

Closed rly closed 3 weeks ago

rly commented 3 weeks ago

What would you like to see added to PyNWB?

We should recommend consistent file name suffixes, especially in Zarr.

Is your feature request related to a problem?

No response

What solution would you like?

Warn in NWBHDF5IO if file name does not end in ".nwb". Warn in NWBZarrIO if file name does not end in ".nwb.zarr".

Do you have any interest in helping implement the feature?

Yes.

Code of Conduct