From 28c616a428696e3462bb97d04a9eea3c5c9f2780 Mon Sep 17 00:00:00 2001
From: Thomas Juerges <4-jurges@users.noreply.git.astron.nl>
Date: Fri, 12 Feb 2021 20:00:30 +0100
Subject: [PATCH] Groan.  I think that now I got the fpga_scrap attribute
 right.

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

diff --git a/SDP/SDP/SDP.py b/SDP/SDP/SDP.py
index 6670fee0a..d488b408e 100644
--- a/SDP/SDP/SDP.py
+++ b/SDP/SDP/SDP.py
@@ -310,7 +310,7 @@ class SDP(Device):
     @fault_on_error
     def read_fpga_scrap_R(self):
         """Return the fpga_scrap_R attribute."""
-        self._fpga_scrap_R = numpy.array(numpy.split(numpy.array(self.attribute_mapping["fpga_scrap_R"].get_data_value().Value.Value), indices_or_sections = 16))
+        self._fpga_scrap_R = numpy.array(self.attribute_mapping["fpga_scrap_R"].get_data_value().Value.Value)
         return self._fpga_scrap_R
 
     @only_when_on
-- 
GitLab