From 4adc934c059d512e75cbbdacbf3b403abd5c106b Mon Sep 17 00:00:00 2001
From: Colm Talbot <colm.talbot@ligo.org>
Date: Thu, 27 Feb 2020 06:20:22 -0600
Subject: [PATCH] Make data append not inplace

---
 bilby_pipe/data_generation.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bilby_pipe/data_generation.py b/bilby_pipe/data_generation.py
index f1b468d2..d8109950 100644
--- a/bilby_pipe/data_generation.py
+++ b/bilby_pipe/data_generation.py
@@ -701,7 +701,7 @@ class DataGenerationInput(Input):
             )
 
         # plot psd_strain_data+strain_data  and zoom into strain_data segment
-        data_with_psd = psd_strain_data.append(strain_data)
+        data_with_psd = psd_strain_data.append(strain_data, inplace=False)
         strain_spectogram_plot(
             data=data_with_psd,
             extra_label="D{}".format(int(time[1] - time[0])),
-- 
GitLab