biocore / microsetta-public-api

A public microservice to support The Microsetta Initiative
BSD 3-Clause "New" or "Revised" License
2 stars 4 forks source link

FIX make encoding safe for numpy ints #93

Closed gwarmstrong closed 3 years ago

gwarmstrong commented 3 years ago

Quick fix. I was running into issues with the empress json encoding numpy integers, so I patched through this encoder that should make sure all of the numpy ints are interpretted as python ints.