Closed jrmlhermitte closed 7 years ago
The source of those errors is that to go into pymongo (and hence down into mongo) the kwargs get turned into json and the default json encoder knows how to deal with python floats, but not numpy datatypes.
Not sure about pi
though...
The numpy array encoding issue as fixed in https://github.com/NSLS-II/metadatastore/pull/266 (and since ported into the databroker repo, along with the rest of metadatastore). It will be deployed in the next cycle.
What is happening with pi???!
See following error:
(chxdb is a databroker object from chx beamline)
As a digression, here's an interesting one is (this of course should return error):
(why is
np.pi
in here???)(versions: