diff --git a/python/blc_array.py b/python/blc_array.py index 20ba3b2e7ebbf85166464bb137362766c64ce532..32ef84101c9ba20f7baf4c1f00c1af39c0efbc73 100644 --- a/python/blc_array.py +++ b/python/blc_array.py @@ -36,6 +36,7 @@ class BlcArray: if (dims): #Creates dim_types = [c_size_t] * len(dims) + print(len(dims), *dims); lib.blc_array_new.argtypes = [c_uint32, c_uint32, c_int, *dim_types ] # Create a new array @@ -77,9 +78,10 @@ class BlcArray: if __name__ == "__main__": undef_array = BlcArray() + array = BlcArray('UIN8', 'TEXT', [16, 3]) - array.get_def() #Useless here, only for testing the function + #array.get_def() #Useless here, only for testing the function - print("type",array.type, "format", array.format, "length", len(array.data)) + #print("type",array.type, "format", array.format, "length", len(array.data)) # print(array.data[:array.total_length])