aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorÉtienne Simon <esimon@esimon.eu>2015-07-23 17:47:45 -0400
committerÉtienne Simon <esimon@esimon.eu>2015-07-23 17:47:45 -0400
commit66f2fc543fda43ad3fb05750e12121991d652685 (patch)
tree3e1e1cd2544ae38598b296c54e67037784bd33bc /data
parent8792dd327159b6eebbca167c325629b42e54766f (diff)
downloadtaxi-66f2fc543fda43ad3fb05750e12121991d652685.tar.gz
taxi-66f2fc543fda43ad3fb05750e12121991d652685.zip
use iteritems in init_valid
Diffstat (limited to 'data')
-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([