Skip to content

Commit

Permalink
Remove status warning on ZarrIO.__init__ (#67)
Browse files Browse the repository at this point in the history
* Remove warning from ZarrIO backend
* Remove unnecessary warnings filters from the tutorials
* Add status text to the docs
  • Loading branch information
oruebel committed Jan 11, 2023
1 parent 1742110 commit 42134e2
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 14 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.. image:: docs/source/figures/logo_hdmf_zarr.png
:width: 400

hdmf-zarr
=========

The ``hdmf-zarr`` library implements a Zarr backend for HDMF as well as convenience classes for integration of Zarr with PyNWB to support writing of NWB files to Zarr.

The Zarr backend is currently experimental and may still change. See the `overiew page <https://hdmf-zarr.readthedocs.io/en/latest/overview.html>`_ for an overview of the available features and known limitations of hdmf-zarr.
**Status:** The Zarr backend is **under development** and may still change. See the `overiew page <https://hdmf-zarr.readthedocs.io/en/latest/overview.html>`_ for an overview of the available features and known limitations of hdmf-zarr.


Latest Release
Expand Down Expand Up @@ -36,7 +36,7 @@ CI / Health Status

.. image:: https://github.com/hdmf-dev/hdmf-zarr/workflows/Deploy%20release/badge.svg
:target: https://github.com/hdmf-dev/hdmf-zarr/actions/workflows/deploy_release.yml

.. image:: https://github.com/hdmf-dev/hdmf-zarr/workflows/black/badge.svg
:target: https://github.com/hdmf-dev/hdmf-zarr/actions/workflows/black.yml

Expand Down
2 changes: 0 additions & 2 deletions docs/gallery/plot_nwb_zarrio.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
"""
# sphinx_gallery_thumbnail_path = 'figures/gallery_thumbnail_plot_nwbzarrio.png'
# Ignore warnings about the development of the ZarrIO backend
import warnings
warnings.filterwarnings('ignore', '.*The ZarrIO backend is experimental*', )

from datetime import datetime
from dateutil.tz import tzlocal
Expand Down
3 changes: 0 additions & 3 deletions docs/gallery/plot_zarr_dataset_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
to store some arbitrary data columns.
"""
# sphinx_gallery_thumbnail_path = 'figures/gallery_thumbnail_plot_zarr_dataset_io.png'
# Ignore warnings about the development of the ZarrIO backend
import warnings
warnings.filterwarnings('ignore', '.*The ZarrIO backend is experimental*', )

# Import DynamicTable and get the ROOT_NAME
from hdmf.common.table import DynamicTable, VectorData
Expand Down
3 changes: 0 additions & 3 deletions docs/gallery/plot_zarr_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
of a file does not appear in the path to locate it.
"""
# sphinx_gallery_thumbnail_path = 'figures/gallery_thumbnail_plot_zarr_io.png'
# Ignore warnings about the development of the ZarrIO backend
import warnings
warnings.filterwarnings('ignore', '.*The ZarrIO backend is experimental*', )

# Import DynamicTable and get the ROOT_NAME
from hdmf.common.table import DynamicTable
Expand Down
3 changes: 3 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ Welcome to hdmf-zarr's documentation!
convenience classes for integration of Zarr with `PyNWB <https://pynwb.readthedocs.io>`_ to
support writing of NWB files to `Zarr <https://zarr.readthedocs.io/en/stable/>`_.

**Status:** The Zarr backend is **under development** and may still change. See the
:ref:`sec-overview` section for a description of available features and known limitations of hdmf-zarr.

Citing hdmf-zarr
^^^^^^^^^^^^^^^^

Expand Down
2 changes: 2 additions & 0 deletions docs/source/overview.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _sec-overview:

Overview
========

Expand Down
3 changes: 0 additions & 3 deletions src/hdmf_zarr/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ def __init__(self, **kwargs):
# Codec class to be used. Alternates, e.g., =numcodecs.JSON
self.__codec_cls = numcodecs.pickles.Pickle if object_codec_class is None else object_codec_class
super().__init__(manager, source=path)
warn_msg = ("The ZarrIO backend is experimental. It is under active development. "
"The ZarrIO backend may change any time and backward compatibility is not guaranteed.")
warnings.warn(warn_msg)

@property
def path(self):
Expand Down

0 comments on commit 42134e2

Please sign in to comment.