aboutsummaryrefslogtreecommitdiff
path: root/data/init_valid.py
diff options
context:
space:
mode:
Diffstat (limited to 'data/init_valid.py')
-rwxr-xr-xdata/init_valid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/init_valid.py b/data/init_valid.py
index 0274c1b..a7244d8 100755
--- a/data/init_valid.py
+++ b/data/init_valid.py
@@ -30,7 +30,7 @@ _fields = {
def init_valid(path):
h5file = h5py.File(path, 'w')
- for k, v in _fields.items():
+ for k, v in _fields.iteritems():
h5file.create_dataset(k, (0,), dtype=v, maxshape=(None,))
split_array = numpy.empty(len(_fields), dtype=numpy.dtype([