Skip to content

Commit

Permalink
fix tutorial copyall -> copy_all [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
alimanfoo committed Jan 2, 2018
1 parent f6614b0 commit f284794
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ Copying/migrating data

If you have some data in an HDF5 file and would like to copy some or all of it
into a Zarr group, or vice-versa, the :func:`zarr.convenience.copy` and
:func:`zarr.convenience.copyall` functions can be used. Here's an example
:func:`zarr.convenience.copy_all` functions can be used. Here's an example
copying a group named 'foo' from an HDF5 file to a Zarr group::

>>> import h5py
Expand Down Expand Up @@ -807,7 +807,7 @@ copying a group named 'foo' from an HDF5 file to a Zarr group::
>>> source.close()

If rather than copying a single group or dataset you would like to copy all
groups and datasets, use :func:`zarr.convenience.copyall`, e.g.::
groups and datasets, use :func:`zarr.convenience.copy_all`, e.g.::

>>> source = h5py.File('data/example.h5', mode='r')
>>> dest = zarr.open_group('data/example2.zarr', mode='w')
Expand Down

0 comments on commit f284794

Please sign in to comment.