[h5py] 252/455: Fix: szip block size 32 was not allowed
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:19:38 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to annotated tag 1.3.0
in repository h5py.
commit 32d54ffc4f3a747d5bd2314e4e6f11049cb754ab
Author: andrewcollette <andrew.collette at gmail.com>
Date: Fri May 29 00:07:58 2009 +0000
Fix: szip block size 32 was not allowed
---
h5py/filters.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/h5py/filters.py b/h5py/filters.py
index eede7e0..67450d8 100644
--- a/h5py/filters.py
+++ b/h5py/filters.py
@@ -123,7 +123,7 @@ def generate_dcpl(shape, dtype, chunks, compression, compression_opts,
raise TypeError(err)
if szmethod not in ('ec', 'nn'):
raise ValueError(err)
- if not (0<szpix<32 and szpix%2 == 0):
+ if not (0<szpix<=32 and szpix%2 == 0):
raise ValueError(err)
# End argument validation
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/h5py.git
More information about the debian-science-commits
mailing list