From fb3b599f50dcd7660fc03c1e56f7e0e8f97d63f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Mon, 31 Aug 2015 10:24:17 +0200 Subject: [PATCH] restituteWFData: If input streams is None, a copy of streams derived by self.getWFData() is used for further processing. --- pylot/core/read/data.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pylot/core/read/data.py b/pylot/core/read/data.py index 3c83e9aa..7e12f793 100644 --- a/pylot/core/read/data.py +++ b/pylot/core/read/data.py @@ -229,7 +229,8 @@ class Data(object): :return: """ if streams is None: - st = self.getWFData() + st_raw = self.getWFData() + st = st_raw.copy() else: st = streams