From 5f2848d5845ca0c32e5517a7f937749e8e2dfeab Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 3 Aug 2018 14:03:27 +0200 Subject: [PATCH] [bugfix] do not read the same files multiple times for each channel --- pylot/core/io/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylot/core/io/data.py b/pylot/core/io/data.py index 3802bfd3..f1f3443d 100644 --- a/pylot/core/io/data.py +++ b/pylot/core/io/data.py @@ -434,7 +434,7 @@ class Data(object): False: self.wfdata} warnmsg = '' - for fname in fnames: + for fname in set(fnames): try: real_or_syn_data[synthetic] += read(fname) except TypeError: