[python-hdf5storage] 42/152: Changed default names to read and write data to in the high level functions.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Feb 29 08:24:32 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 a7aa29da7ad60ac5ceffbbea6e81f5fa03a61c5d
Author: Freja Nordsiek <fnordsie at gmail.com>
Date:   Sun Jan 26 22:03:08 2014 -0500

    Changed default names to read and write data to in the high level functions.
---
 hdf5storage/core.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hdf5storage/core.py b/hdf5storage/core.py
index a8d65b3..ae49a03 100644
--- a/hdf5storage/core.py
+++ b/hdf5storage/core.py
@@ -645,7 +645,7 @@ class MarshallerCollection(object):
             return None
 
 
-def write(filename='data.h5', name='/data', data=None,
+def write(filename='data.h5', name='/', data=None,
           options=None,
           store_type_information=True, MATLAB_compatible=True,
           delete_unused_variables=False,
@@ -767,7 +767,7 @@ def write(filename='data.h5', name='/data', data=None,
             fd.close()
 
 
-def read(filename='data.h5', name='/data', options=None,
+def read(filename='data.h5', name='/', options=None,
          MATLAB_compatible=False, reverse_dimension_order=False,
          marshaller_collection=None):
     # Pack the different options into an Options class if an Options was

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