aboutsummaryrefslogtreecommitdiff
path: root/data/make_valid_cut.py
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-06-21 15:45:37 -0400
committerAlex Auvolat <alex.auvolat@ens.fr>2015-06-21 15:45:47 -0400
commit01f27c350347607b31c68cf96ae9c781f10582db (patch)
tree75e760d981cac15dc094814fa601615a36b640bc /data/make_valid_cut.py
parent294afc20266372ab8d9051ae5a42912be739d01a (diff)
downloadtaxi-01f27c350347607b31c68cf96ae9c781f10582db.tar.gz
taxi-01f27c350347607b31c68cf96ae9c781f10582db.zip
Fix hdf5 generation
Diffstat (limited to 'data/make_valid_cut.py')
-rwxr-xr-xdata/make_valid_cut.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/make_valid_cut.py b/data/make_valid_cut.py
index d5be083..cb23329 100755
--- a/data/make_valid_cut.py
+++ b/data/make_valid_cut.py
@@ -57,6 +57,7 @@ def make_valid(cutfile, outpath):
splits[slen+i]['source'] = field.encode('utf8')
splits[slen+i]['start'] = clen
splits[slen+i]['stop'] = alen
+ splits[slen+i]['indices'] = None
splits[slen+i]['available'] = True
splits[slen+i]['comment'] = '.'
file.attrs['split'] = splits