Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "browzarr",
"version": "0.8.0",
"version": "0.8.1",
"description": "A browser-based visualization toolkit for exploring and analyzing Zarr data stores.",
"type": "module",
"keywords": [
Expand Down
4 changes: 1 addition & 3 deletions src/components/ui/MainPanel/MetaData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ function useSizeData(

const cachedChunks = useMemo(() => {
let newCachedChunks: string | null = null;

if (meta && meta.chunks && meta.shape) {
const chunks = meta.chunks;
const slices: Record<string, number>[] = Array.from({length: 3}).map(() => ({start: 0, end: 1}))
Expand Down Expand Up @@ -199,7 +198,6 @@ function MetaInfo({
}) {
const maxSize = useCacheStore(s => s.maxSize);
const compress = useZarrStore(s => s.compress);

return(
<div className="flex flex-col gap-2">
{/* Size info badge */}
Expand Down Expand Up @@ -312,7 +310,7 @@ export const MetaData = ({ meta, metadata }: Props) => {
})
},[setSelectionInfo])
// --- Size States --- //
const sizeData = useSizeData(meta, selectionInfo, maxSize, isBivariate, variable2);
const sizeData = useSizeData(meta, selectionInfo, cacheSize, isBivariate, variable2);
const smallCache = sizeData.smallCache;

// --- Dim States --- //
Expand Down
Loading