[python-hdf5storage] 121/152: Removed commented out code.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Feb 29 08:24:40 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 9608d03d9da715e865afc6d3f54556d3c8c7f2f6
Author: Freja Nordsiek <fnordsie at gmail.com>
Date:   Fri Feb 14 16:55:34 2014 -0500

    Removed commented out code.
---
 hdf5storage/Marshallers.py | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/hdf5storage/Marshallers.py b/hdf5storage/Marshallers.py
index 1148009..6632ad6 100644
--- a/hdf5storage/Marshallers.py
+++ b/hdf5storage/Marshallers.py
@@ -922,16 +922,6 @@ class NumpyScalarArrayMarshaller(TypeMarshaller):
                 for index, x in np.ndenumerate(v):
                     data[k][index] = x
 
-            # If the file was formatted for matlab or we otherwise
-            # reverse dimension order, then the dimensions already got
-            # reversed by using the shape of v, so we need to transpose
-            # again so that later, we get the right shape when
-            # transposed again.
-            if matlab_class is not None or \
-                    options.reverse_dimension_order:
-                #data = data.T
-                pass
-
         # If metadata is present, that can be used to do convert to the
         # desired/closest Python data types. If none is present, or not
         # enough of it, then no conversions can be done.

-- 
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