From 5010dae431fda059496fd75e8347981f97cde6ce Mon Sep 17 00:00:00 2001 From: Alistair Miles Date: Wed, 7 Mar 2018 00:21:45 +0000 Subject: [PATCH 1/3] bump numcodecs version in dev requirements --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index 1a267e1b56..95e4a556b4 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -15,7 +15,7 @@ idna==2.6 mccabe==0.6.1 monotonic==1.3 msgpack-python==0.4.8 -numcodecs==0.5.3 +numcodecs==0.5.4 packaging==16.8 pkginfo==1.4.1 pluggy==0.5.2 From 92713c2c436dfd7507521f5d377924065d7fc1dc Mon Sep 17 00:00:00 2001 From: Alistair Miles Date: Wed, 7 Mar 2018 00:26:45 +0000 Subject: [PATCH 2/3] update release notes --- docs/release.rst | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/docs/release.rst b/docs/release.rst index bae01017b3..fdcd3cb0e2 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -3,17 +3,8 @@ Release notes .. _release_2.2.0: -2.2.0 (release candidate) -------------------------- - -Version 2.2.0 is currently at the release candidate stage. To install the latest release -candidate version using pip:: - - $ pip install --pre zarr - -Alternatively, to install the latest release candidate using conda:: - - $ conda install -c conda-forge/label/rc zarr +2.2.0 +----- Enhancements ~~~~~~~~~~~~ From d329ceea37e0a3e148c4b24cfc9fea61de7f74f2 Mon Sep 17 00:00:00 2001 From: Alistair Miles Date: Wed, 7 Mar 2018 12:39:06 +0000 Subject: [PATCH 3/3] fix doctests after blosc upgrade --- docs/tutorial.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 8458c91592..c174a57ae5 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -394,8 +394,8 @@ property. E.g.:: Compressor : Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0) Store type : zarr.storage.DictStore No. bytes : 8000000 (7.6M) - No. bytes stored : 33460 (32.7K) - Storage ratio : 239.1 + No. bytes stored : 33240 (32.5K) + Storage ratio : 240.7 Chunks initialized : 10/10 >>> baz.info @@ -409,8 +409,8 @@ property. E.g.:: Compressor : Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0) Store type : zarr.storage.DictStore No. bytes : 4000000 (3.8M) - No. bytes stored : 20443 (20.0K) - Storage ratio : 195.7 + No. bytes stored : 23943 (23.4K) + Storage ratio : 167.1 Chunks initialized : 100/100 Groups also have the :func:`zarr.hierarchy.Group.tree` method, e.g.:: @@ -1143,8 +1143,8 @@ ratios, depending on the correlation structure within the data. E.g.:: Compressor : Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0) Store type : builtins.dict No. bytes : 400000000 (381.5M) - No. bytes stored : 10502688 (10.0M) - Storage ratio : 38.1 + No. bytes stored : 6696010 (6.4M) + Storage ratio : 59.7 Chunks initialized : 100/100 >>> f = zarr.array(a, chunks=(1000, 1000), order='F') >>> f.info @@ -1157,8 +1157,8 @@ ratios, depending on the correlation structure within the data. E.g.:: Compressor : Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0) Store type : builtins.dict No. bytes : 400000000 (381.5M) - No. bytes stored : 5530511 (5.3M) - Storage ratio : 72.3 + No. bytes stored : 4684636 (4.5M) + Storage ratio : 85.4 Chunks initialized : 100/100 In the above example, Fortran order gives a better compression ratio. This is an