allen-cell-animated / volume-viewer

https://allen-cell-animated.github.io/volume-viewer/
Other
90 stars 7 forks source link

multi-source ome zarr dimension matching: loosen one more level comparison criterion #207

Open toloudis opened 3 months ago

toloudis commented 3 months ago

When we are combining zarr channels from two different data sources, we have this loop that tries to find matching array sizes ("shape") among the multiresolution levels of the two zarr sources.

When shapes differ by increasing one dimension but decreasing others, we return an undefined sort value. This is fine but it also means the levels are unmatched. We don't need to crash on this - we know the combination is not a match and can continue iterating.

toloudis commented 3 months ago

Putting this back to draft in order to work out the best way to handle it.