AllenInstitute / biofile-finder

An open-use web application created for easy access, collaboration, and sharing of datasets through rich metadata search, filter, sort, and direct viewing in common industry applications or in our web-based 3D Volume Viewer.
https://biofile-finder.allencell.org/
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Inconsistent Thumbnail rendering for Zarrs #282

Open BrianWhitneyAI opened 1 week ago

BrianWhitneyAI commented 1 week ago

When using the specimen_metadata.csv of mouse brains, a mix of the files render. Some always render, some sometimes render, and some never render. We added retry logic in #268 which stabilized the sometimes render files. However we are consistently reaching the following error:

RenderZarrThumbnailURL.ts:128 Failed to render Zarr thumbnail: RangeError: Maximum call stack size exceeded
    at renderZarrThumbnailURL (RenderZarrThumbnailURL.ts:91)
    at async FileDetail.getPathToThumbnail (index.ts:184)

This indicates that we need to add some sort of smarter rendering policy for zarrs.