From 81d4af7158dcbdd951a96ab9f5790ae3b094a3cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Al=C3=A1n=20Mu=C3=B1oz?= <amuoz@ed.ac.uk>
Date: Mon, 23 Aug 2021 17:30:06 +0100
Subject: [PATCH] bugfix

Former-commit-id: b78c42d8423e64fd3a0ffb9a36eddde7bf368f58
---
 core/processor.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/processor.py b/core/processor.py
index b0e9aa86..bbb8a445 100644
--- a/core/processor.py
+++ b/core/processor.py
@@ -114,7 +114,7 @@ class PostProcessor:
         with h5py.File(self._filename, "r") as f:
             prev_idchanges = self._signal.get_id_changes()
 
-        changes_history = list(prev_idchanges) + merge_events
+        changes_history = list(prev_idchanges) + [np.array(x) for x in merge_events]
         self._writer.write("id_changes", data=changes_history)
         # self._writer.write(
         #     "/postprocessing/merge_events/",
-- 
GitLab