From 08792c8fc0b5380ff65c44693617ad16edddc3e8 Mon Sep 17 00:00:00 2001 From: Thomas Juerges <4-jurges@users.noreply.git.astron.nl> Date: Tue, 2 Mar 2021 15:50:11 +0100 Subject: [PATCH] Change numpy.str_ to numpy.str --- SDP/SDP/SDP.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/SDP/SDP/SDP.py b/SDP/SDP/SDP.py index f6f62f2a7..3c5c7e209 100644 --- a/SDP/SDP/SDP.py +++ b/SDP/SDP/SDP.py @@ -36,7 +36,7 @@ class SDP(Device): - Device Property OPC_Server_Name - - Type:numpy.str_ + - Type:numpy.str OPC_Server_Port - Type:'DevULong' OPC_Time_Out @@ -71,7 +71,7 @@ class SDP(Device): # ----------------- OPC_Server_Name = device_property( - dtype=numpy.str_, + dtype=numpy.str, mandatory=True ) @@ -116,7 +116,7 @@ class SDP(Device): ) fpga_version_R = attribute( - dtype = (numpy.str_,), + dtype = (numpy.str,), max_dim_x = 16, ) @@ -132,19 +132,19 @@ class SDP(Device): ) sdp_info_R = attribute( - dtype = (numpy.str_,), + dtype = (numpy.str,), ) sdp_tod_R = attribute( - dtype = (numpy.str_,), + dtype = (numpy.str,), ) translator_network_R = attribute( - dtype = (numpy.str_,), + dtype = (numpy.str,), ) translator_timing_R = attribute( - dtype = (numpy.str_,), + dtype = (numpy.str,), ) -- GitLab