From 2f22c6f21294928ce8ac98f56890d5044134b1f6 Mon Sep 17 00:00:00 2001 From: Rob Date: Tue, 12 Sep 2017 15:09:02 +0100 Subject: [PATCH] removed blank --- bin/import_timit.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/import_timit.py b/bin/import_timit.py index ed27b973..0191eba6 100755 --- a/bin/import_timit.py +++ b/bin/import_timit.py @@ -84,7 +84,6 @@ def _preprocess_data(args): for root, dirnames, filenames in os.walk(target): for filename in fnmatch.filter(filenames, "*_rif.wav"): - full_wav = os.path.join(root, filename) wav_filesize = path.getsize(full_wav) @@ -103,7 +102,7 @@ def _preprocess_data(args): # if ignoreSAsentences we only want those without SA in the name # OR - # if not ignoreSAsentences we want all + # if not ignoreSAsentences we want all to be added if (ignoreSASentences and not ('SA' in os.path.basename(full_wav))) or (not ignoreSASentences): if 'train' in full_wav.lower(): train_list_wavs.append(full_wav)