Rhoana / butterfly

Documentation
http://butterfly.rtfd.io
MIT License
2 stars 5 forks source link

Use alternate caching in client #14

Closed thejohnhoffer closed 7 years ago

thejohnhoffer commented 7 years ago

Nearly all of these changes allow the viewer cache to expand to a variable length. Before the addition of one hidden OpenSeadragon layer for each slice in the volume, the cache needed to remain a constant length in order to keep reliable indices of each layer. Now there is a more direct mapping between layer index and z stack, which allows for arbitrary slices to be loaded, shown, and hidden without waiting for a fixed number of slices to load before moving.

There are additionally two small commits to fix errors in the hdf5 datasource that were required in order to adequately test the updates to the viewer. Those will be commented appropriately.