CAVEconnectome / CAVEclient

This is the python client for accessing REST APIs within the Connectome Annotation Versioning Engine.
https://caveconnectome.github.io/CAVEclient/
MIT License
19 stars 12 forks source link

use JSONencoder to reformat metadata to simple objects #181

Closed ceesem closed 2 months ago

ceesem commented 2 months ago

Before adding metadata attributes to the returned data frame, pass through JSON encode/decode to convert arrays, pandas series, etc into simple objects like lists. This will more robustly fix issues with df.attrs than before.