Support more scalar data types in server
Created by: findmyway
While implementing the Julia wrapper #529 , I found that only float
scalars were shown correctly. Other data types like double
scalars were not supported. After examing the source code, I find the reason is that the following line in lib.py
scalar = reader.scalar(tag)
just ignores the data type info. The default signature is reader.scalar(tag, type='float')
. And it results that all values returned by scalar.records()
are 0.0