Skip to content

Commit

Permalink
Add OtherIO.can_read method to tests (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Jul 1, 2023
1 parent 531296c commit 6a3474e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 6 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@

### New Features
* Added support, tests, and docs for using ``DirectoryStore``, ``TempStore``, and
``NestedDirectoryStore`` Zarr storage backends with ``ZarrIO`` and ``NWBZarrIO``
``NestedDirectoryStore`` Zarr storage backends with ``ZarrIO`` and ``NWBZarrIO``.
@oruebel [#62](https://github.com/hdmf-dev/hdmf-zarr/pull/62)

### Minor enhancements
* Updated handling of references on read to simplify future integration of file-based Zarr
stores (e.g., ZipStore or database stores) @oruebel [#62](https://github.com/hdmf-dev/hdmf-zarr/pull/62)
* Added can_read classmethod to ZarrIO. @bendichter [#97](https://github.com/hdmf-dev/hdmf-zarr/pull/97)
stores (e.g., ZipStore or database stores). @oruebel [#62](https://github.com/hdmf-dev/hdmf-zarr/pull/62)
* Added ``can_read`` classmethod to ``ZarrIO``. @bendichter [#97](https://github.com/hdmf-dev/hdmf-zarr/pull/97)

### Test suite enhancements
* Modularized unit tests to simplify running tests for multiple Zarr storage backends
* Modularized unit tests to simplify running tests for multiple Zarr storage backends.
@oruebel [#62](https://github.com/hdmf-dev/hdmf-zarr/pull/62)
* Updated tests to handle upcoming changes to ``HDMFIO``. @rly [#102](https://github.com/hdmf-dev/hdmf-zarr/pull/102)

### Docs
* Added developer documentation on how to integrate new storage backends with ZarrIO
* Added developer documentation on how to integrate new storage backends with ZarrIO. @oruebel
[#62](https://github.com/hdmf-dev/hdmf-zarr/pull/62)

### API Changes
Expand Down
4 changes: 4 additions & 0 deletions tests/unit/base_tests_zarrio.py
Original file line number Diff line number Diff line change
Expand Up @@ -1434,6 +1434,10 @@ def test_non_manager_container(self):

class OtherIO(HDMFIO):

@staticmethod
def can_read(path):
pass

def read_builder(self):
pass

Expand Down

0 comments on commit 6a3474e

Please sign in to comment.