[python-hdf5storage] 74/152: Fixed a bug with deleting the H5PATH attribute on numpy.object_ arrays when not doint matlab compatibility.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Mon Feb 29 08:24:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to annotated tag 0.1
in repository python-hdf5storage.
commit a0a97301e4af3336d654b96b459ccbbe0159ad36
Author: Freja Nordsiek <fnordsie at gmail.com>
Date: Sat Feb 1 23:52:53 2014 -0500
Fixed a bug with deleting the H5PATH attribute on numpy.object_ arrays when not doint matlab compatibility.
---
hdf5storage/Marshallers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hdf5storage/Marshallers.py b/hdf5storage/Marshallers.py
index 1f1e6a6..5bfe3a9 100644
--- a/hdf5storage/Marshallers.py
+++ b/hdf5storage/Marshallers.py
@@ -468,7 +468,7 @@ class NumpyScalarArrayMarshaller(TypeMarshaller):
set_attribute_string(grp2[name_for_ref],
'H5PATH', grp2.name)
else:
- del_attribute(grp2[k], 'H5PATH')
+ del_attribute(grp2[name_for_ref], 'H5PATH')
# Now, the dtype needs to be changed to the reference type
# and the whole thing copied over to data_to_store.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-hdf5storage.git
More information about the debian-science-commits
mailing list