[bugfix] do not read the same files multiple times for each channel
This commit is contained in:
parent
5c74160710
commit
5f2848d584
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user