CAVEconnectome / CAVEclient

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

add static url and local save #136

Closed ceesem closed 9 months ago

ceesem commented 9 months ago

Two features for handling states.

1) Add a local save file. The main advantage here is just passing through the neuroglancer parser, but it also makes the state client a one-stop shop for handling state dictionaries.

2) Add a boolean static_url argument to build_neuroglancer_url. This will treat the first argument as a fully formed URL on its own, making it easy to build links to static sources through whatever formatting is needed.