[bugfix] do not read the same files multiple times for each channel

This commit is contained in:
Marcel Paffrath 2018-08-03 14:03:27 +02:00
parent 5c74160710
commit 5f2848d584

View File

@ -434,7 +434,7 @@ class Data(object):
False: self.wfdata} False: self.wfdata}
warnmsg = '' warnmsg = ''
for fname in fnames: for fname in set(fnames):
try: try:
real_or_syn_data[synthetic] += read(fname) real_or_syn_data[synthetic] += read(fname)
except TypeError: except TypeError: