AllenInstitute / AllenInstitute/vis
Fix issue where latter half of slides won't load
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 1
- Avg merge
- 10h 24m
- Merged PRs (30d)
- 7
Description
Describe the bug
When loading data with multiple datasets, there is a bug where the slides won't load correctly.
To Reproduce
Steps to reproduce the behavior:
- Go to the OME-Zarr example viewer on the demo site: https://alleninstitute.github.io/vis/
- Load the custom URL: https://d3hik2dwvr9wk1.cloudfront.net/A549/organelle_box_crop_v1.zarr/ACTB/Live/003001
- Notice that nothing loads, although there are 38 slides
- Navigate back one slide, everything lower than 20 loads
Expected behavior
All slides load
Screenshots
Additional context
It's something to do with the datasets and arrays. I see a zarr.get call from Zarrita failing to load, and it's complaining about an index out of bounds since 38 is too high for 19 and 10. Which is that third number in the data structure in arrays
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the OME-Zarr example viewer using the custom URL in the report. Start by tracing the datasets and arrays involved in the failing Zarrita zarr.get call, especially the reported index-out-of-bounds condition. Done means all 38 slides load correctly rather than only the slides below 20.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100