From 61837366ff4cb2abf95a07a6fe4dc809f1e0e0fe Mon Sep 17 00:00:00 2001
From: Thomas Juerges <4-jurges@users.noreply.git.astron.nl>
Date: Thu, 25 Feb 2021 17:40:52 +0100
Subject: [PATCH] Sigh.  Make numpy types compatible with older numpy in the
 image

---
 PCC/PCC/PCC.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/PCC/PCC/PCC.py b/PCC/PCC/PCC.py
index 6156fd5c1..f6b20dc02 100644
--- a/PCC/PCC/PCC.py
+++ b/PCC/PCC/PCC.py
@@ -69,7 +69,7 @@ class PCC(Device):
     # Device Properties
     # -----------------
     OPC_Server_Name = device_property(
-        dtype=numpy.str_,
+        dtype=numpy.str,
         mandatory=True
     )
 
@@ -79,7 +79,7 @@ class PCC(Device):
     )
 
     OPC_Time_Out = device_property(
-        dtype=numpy.uint64,
+        dtype=numpy.float_,
         mandatory=True
     )
 
@@ -178,7 +178,7 @@ class PCC(Device):
     )
 
     RCU_version_R = attribute(
-        dtype=(numpy.str_,),
+        dtype=(numpy.str,),
         max_dim_x=32,
     )
 
@@ -213,7 +213,6 @@ class PCC(Device):
         dtype=numpy.float_,
     )
 
-
     # ---------------
     # General methods
     # ---------------
-- 
GitLab