##// END OF EJS Templates
include dtype itself in metadata, not str representation...
MinRK -
Show More
@@ -110,7 +110,7 b' class SerializeIt(object):'
110 110 self.obj = numpy.ascontiguousarray(self.obj, dtype=None)
111 111 self.typeDescriptor = 'ndarray'
112 112 self.metadata = {'shape':self.obj.shape,
113 'dtype':self.obj.dtype.str}
113 'dtype':self.obj.dtype}
114 114 elif isinstance(self.obj, bytes):
115 115 self.typeDescriptor = 'bytes'
116 116 self.metadata = {}
General Comments 0
You need to be logged in to leave comments. Login now